Skip to content

Commit 7e05401

Browse files
author
avandras
committed
Up- and then download test output for later use
1 parent 7359084 commit 7e05401

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
run: python .github/workflows/install_deps.py
4040
- name: Run tests and flake8
4141
run: python .github/workflows/run_tests.py
42+
- name: Upload logs from unit tests
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: logs-${{ matrix.os }}
46+
path: ${{ runner.temp }}/*.coverage.*
47+
retention-days: 1
4248

4349
post-unit-coverage:
4450
runs-on: ${{ matrix.os }}
@@ -58,6 +64,11 @@ jobs:
5864
- name: Install dependencies
5965
run: python .github/workflows/install_deps.py
6066

67+
- name: Download logs from unit tests
68+
uses: actions/upload-artifact@v4
69+
with:
70+
name: logs-${{ matrix.os }}
71+
path: ${{ runner.temp }}
6172
- name: Combine coverage
6273
run: python .github/workflows/run_tests.py combine
6374

0 commit comments

Comments
 (0)