Skip to content

Commit fb9de12

Browse files
committed
chore(ci): fail checks if intg tests fail
1 parent f4fb0bb commit fb9de12

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/checks.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,13 @@ jobs:
4949
run: npm ci
5050
- name: Run unit tests
5151
run: npm run test:unit
52-
continue-on-error: true
5352
- name: Run coverage for unit tests
5453
run: npm run cover:unit
54+
if: ${{ always() }}
5555
continue-on-error: true
5656
- name: Coveralls
5757
uses: coverallsapp/github-action@master
58+
if: ${{ always() }}
5859
with:
5960
path-to-lcov: ./.coverage/unit/lcov.info
6061
flag-name: Unit
@@ -74,21 +75,24 @@ jobs:
7475
node-version-file: .nvmrc
7576
- name: Run integration tests
7677
run: npm run docker:test:integration
78+
- name: Generate Cucumber report annotations
79+
uses: deblockt/cucumber-report-annotations-action@v1.7
80+
if: ${{ always() }}
7781
continue-on-error: true
78-
- uses: deblockt/cucumber-report-annotations-action@v1.7
7982
with:
8083
access-token: ${{ secrets.GITHUB_TOKEN }}
8184
path: .test-reports/integration/report.json
8285
- name: Run coverage for integration tests
8386
run: npm run docker:cover:integration
84-
continue-on-error: true
8587
- name: Coveralls
8688
uses: coverallsapp/github-action@master
89+
if: ${{ always() }}
8790
with:
8891
path-to-lcov: .coverage/integration/lcov.info
8992
flag-name: Integration
9093
parallel: true
9194
github-token: ${{ secrets.GITHUB_TOKEN }}
95+
continue-on-error: true
9296
post-tests:
9397
name: Post Tests
9498
needs: [test-units-and-cover, test-integrations-and-cover]

0 commit comments

Comments
 (0)