chore(ci): continue on error

This commit is contained in:
Ricardo Arturo Cabral Mejia 2022-10-28 22:40:26 -04:00
parent df5f61ea8b
commit f465f670ed
No known key found for this signature in database
GPG Key ID: 5931EBF43A650245

View File

@ -2,10 +2,13 @@ name: CI Checks
on:
pull_request:
types: [opened, synchronize]
push:
branches: [main]
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
lint:
name: Lint
@ -46,8 +49,10 @@ 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
continue-on-error: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
@ -70,17 +75,16 @@ jobs:
node-version-file: .nvmrc
- name: Run integration tests
run: npm run docker:test:integration
continue-on-error: true
- uses: deblockt/cucumber-report-annotations-action@v1.7
if: ${{ always() }}
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
path: .test-reports/integration/report.json
- name: Run coverage for integration tests
run: npm run docker:cover:integration
if: ${{ always() }}
continue-on-error: true
- name: Coveralls
uses: coverallsapp/github-action@master
if: ${{ always() }}
with:
path-to-lcov: .coverage/integration/lcov.info
flag-name: Integration