From fcc36d57ed2e7fa41da4defd544c9afaa6ebb5aa Mon Sep 17 00:00:00 2001 From: David Diaz Date: Sun, 22 Nov 2020 18:07:41 -0600 Subject: [PATCH] The lib tests should probably run first. --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e09620..ad76e64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,10 +20,8 @@ jobs: - name: Validate Schema run: | - npx ajv-cli compile -s schema.json - npx ajv-cli validate -s schema.json -d examples/beau.yml - - name: Run CLI Tests - run: npm test -- ./bin + npx ajv-cli compile -s schema.json + npx ajv-cli validate -s schema.json -d examples/beau.yml - name: Run Lib Tests run: npm run test:coverage - name: Report Results @@ -32,6 +30,8 @@ jobs: ./cc-test-reporter format-coverage ./cc-test-reporter upload-coverage env: - GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha }} - GIT_BRANCH: ${{ github.head_ref }} - CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPO_TOKEN }} + GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha }} + GIT_BRANCH: ${{ github.head_ref }} + CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPO_TOKEN }} + - name: Run CLI Tests + run: npm test -- ./bin