mirror of https://github.com/Seich/Beau.git
The lib tests should probably run first.
This commit is contained in:
parent
93b8778972
commit
fcc36d57ed
|
|
@ -20,10 +20,8 @@ jobs:
|
||||||
|
|
||||||
- name: Validate Schema
|
- name: Validate Schema
|
||||||
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
|
||||||
|
|
@ -32,6 +30,8 @@ jobs:
|
||||||
./cc-test-reporter format-coverage
|
./cc-test-reporter format-coverage
|
||||||
./cc-test-reporter upload-coverage
|
./cc-test-reporter upload-coverage
|
||||||
env:
|
env:
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue