Skip to content

add new debts file #6119

add new debts file

add new debts file #6119

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
package:
[
core-contracts,
core-js,
core-modules,
deployer,
spartan-council,
grants-council,
treasury-council,
ambassador-council,
synthetix-governance,
]
include:
- package: core-contracts
coverage-file: packages/core-contracts/coverage.json
- package: core-js
coverage-file: packages/core-js/coverage/lcov.info
- package: core-modules
coverage-file: packages/core-modules/coverage.json
- package: deployer
coverage-file: packages/deployer/coverage/lcov.info
- package: synthetix-main
coverage-file: packages/synthetix-main/coverage.json
- package: spartan-council
coverage-file: packages/spartan-council/coverage.json
- package: grants-council
coverage-file: packages/grants-council/coverage.json
- package: treasury-council
coverage-file: packages/treasury-council/coverage.json
- package: ambassador-council
coverage-file: packages/ambassador-council/coverage.json
- package: synthetix-governance
coverage-file: packages/synthetix-governance/coverage.json
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16.8.0"
cache: "npm"
- run: npm ci
- name: Execute tests
run: npm run --workspace=./packages/${{ matrix.package }} coverage
- name: Upload ${{ matrix.package }} coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: ${{ matrix.coverage-file }}
flags: ${{ matrix.package }}
test-cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16.8.0"
cache: "npm"
- run: npm ci
- name: Execute tests
run: npm --workspace=./packages/cli test
test-sample:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16.8.0"
cache: "npm"
- run: npm ci
- run: npm --workspace=./packages/sample-project test