Skip to content

Commit

Permalink
CI: Manually zip results to shorten time
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox committed Jan 23, 2023
1 parent 5a46c27 commit 4e93b9e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,17 @@ jobs:
export TIKE_TEST_CI
pytest -vs tests
name: Run tests
- run: |
cd tests/result
zip -r9 ../../result.zip .
name: Zip results
- uses: actions/upload-artifact@v3
if: ${{ matrix.python-version == '3.9' }}
with:
path: tests/result/
name: Without MPI reconstructed images
path: result.zip
name: Without MPI results

- run: conda remove -n tike --all
name: Clean up environment
Expand Down Expand Up @@ -113,11 +118,16 @@ jobs:
export TIKE_TEST_CI
mpiexec -n 2 python -m pytest -vs tests
name: Run tests with MPI
- run: |
cd tests/result
zip -r9 ../../result.zip .
name: Zip results
- uses: actions/upload-artifact@v3
with:
path: tests/result/
name: MPI reconstructed images
path: result.zip
name: MPI results

- run: conda remove -n tike --all
name: Clean up environment

0 comments on commit 4e93b9e

Please sign in to comment.