Skip to content

Commit

Permalink
fix: change volume handling
Browse files Browse the repository at this point in the history
  • Loading branch information
guidojw committed Oct 12, 2023
1 parent 627b5dd commit fff2529
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,19 @@ jobs:

- name: Test
run: |
docker run -e CI=true -e COVERAGE=true -t app yarn test:ember
docker cp app:/opt/app/coverage/coverage-summary.json coverage-summary.json
mkdir coverage
docker run -e CI=true -e COVERAGE=true -v $(pwd):/opt/app/coverage -t app yarn test:ember
- name: Upload coverage report
- name: Upload coverage report to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage-summary.json
fail_ci_if_error: true
files: coverage/coverage-summary.json

- name: Upload coverage report artifact
if: ${{ !cancelled() }}
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: coverage
path: coverage/coverage-summary.json

0 comments on commit fff2529

Please sign in to comment.