Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
- name: run unit test
run: docker compose run -e TEST_TARGET="${{ matrix.test_target }}" unittest-tre-server
- run: mv cov/.coverage cov/.coverage-${{ strategy.job-index }}
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: .coverage-${{ strategy.job-index }}
path: cov/.coverage-${{ strategy.job-index }}
include-hidden-files: true
- run: mv cov/pytest.xml cov/pytest-${{ strategy.job-index }}.xml
- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: pytest-${{ strategy.job-index }}
path: cov/pytest-${{ strategy.job-index }}.xml
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
sudo chown runner:docker /home/runner/work/TRE-server/TRE-server/cov
sudo chmod 777 /home/runner/work/TRE-server/TRE-server/cov
- uses: actions/download-artifact@v7
- uses: actions/download-artifact@v8
with:
pattern: '.coverage-*'
path: cov/
Expand All @@ -70,7 +70,7 @@ jobs:
run: docker compose run -w /app/TRE-server/cov unittest-tre-server bash --login -c 'uv run coverage combine .coverage-*'
- name: generate coverage xml file
run: docker compose run -w /app/TRE-server unittest-tre-server bash --login -c 'uv run coverage xml --data-file=cov/.coverage -o cov/coverage.xml'
- uses: actions/download-artifact@v7
- uses: actions/download-artifact@v8
with:
pattern: 'pytest-*'
path: cov/
Expand Down