-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): fail checks if intg tests fail
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,12 +49,13 @@ jobs: | |
run: npm ci | ||
- name: Run unit tests | ||
run: npm run test:unit | ||
continue-on-error: true | ||
- name: Run coverage for unit tests | ||
run: npm run cover:unit | ||
if: ${{ always() }} | ||
continue-on-error: true | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
if: ${{ always() }} | ||
with: | ||
path-to-lcov: ./.coverage/unit/lcov.info | ||
flag-name: Unit | ||
|
@@ -74,21 +75,24 @@ jobs: | |
node-version-file: .nvmrc | ||
- name: Run integration tests | ||
run: npm run docker:test:integration | ||
- name: Generate Cucumber report annotations | ||
uses: deblockt/[email protected] | ||
if: ${{ always() }} | ||
continue-on-error: true | ||
- uses: deblockt/[email protected] | ||
with: | ||
access-token: ${{ secrets.GITHUB_TOKEN }} | ||
path: .test-reports/integration/report.json | ||
- name: Run coverage for integration tests | ||
run: npm run docker:cover:integration | ||
continue-on-error: true | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
if: ${{ always() }} | ||
with: | ||
path-to-lcov: .coverage/integration/lcov.info | ||
flag-name: Integration | ||
parallel: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
continue-on-error: true | ||
post-tests: | ||
name: Post Tests | ||
needs: [test-units-and-cover, test-integrations-and-cover] | ||
|