diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 4c73a27..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Coverage -on: - push: - branches: - - main - tags: - - '!*' # Do not execute on tags - paths: - - src/* - - test/* - - '*.json' - - yarn.lock - pull_request: - paths: - - '!*.MD' -jobs: - test: - strategy: - matrix: - platform: [ ubuntu-latest, macOS-latest ] - node: [ '14', '12' ] - name: test/node ${{ matrix.node }}/${{ matrix.platform }} - runs-on: ${{ matrix.platform }} - steps: - - uses: actions/checkout@main - - uses: actions/setup-node@main - with: - node-version: ${{ matrix.node }} - - run: npm install - - run: npm build - - run: npm test - coverage: - needs: [ test ] - name: coverage - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@main - - uses: actions/setup-node@main - with: - node-version: '12' - - run: npm install - - run: npm build - - uses: paambaati/codeclimate-action@v2.7.2 - env: - CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} - with: - coverageCommand: npm run coverage - debug: true