The lib tests should probably run first.

This commit is contained in:
David Diaz 2020-11-22 18:07:41 -06:00
parent 93b8778972
commit fcc36d57ed
1 changed files with 7 additions and 7 deletions

View File

@ -22,8 +22,6 @@ jobs:
run: | run: |
npx ajv-cli compile -s schema.json npx ajv-cli compile -s schema.json
npx ajv-cli validate -s schema.json -d examples/beau.yml npx ajv-cli validate -s schema.json -d examples/beau.yml
- name: Run CLI Tests
run: npm test -- ./bin
- name: Run Lib Tests - name: Run Lib Tests
run: npm run test:coverage run: npm run test:coverage
- name: Report Results - name: Report Results
@ -35,3 +33,5 @@ jobs:
GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha }} GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
GIT_BRANCH: ${{ github.head_ref }} GIT_BRANCH: ${{ github.head_ref }}
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPO_TOKEN }} CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPO_TOKEN }}
- name: Run CLI Tests
run: npm test -- ./bin