File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,16 +14,24 @@ jobs:
1414 python-version : ["3.12"]
1515 steps :
1616 - uses : actions/checkout@v4
17- - name : setup- pixi
17+ - name : Setup pixi
1818 uses : prefix-dev/setup-pixi@v0.8.3
19- - name : Run tests
19+ - name : Run integration tests
20+ id : tests
2021 run : pixi run test-integration
21- - name : Run linting
22+ continue-on-error : true
23+ - name : Run snakemake linting
24+ id : linting
2225 run : pixi run snakemake --lint
23- - name : Archive integration test artifacts
26+ continue-on-error : true
27+ - name : Save integration logs
2428 if : ${{ always() }}
2529 uses : actions/upload-artifact@v4
2630 with :
2731 name : integration-test-logs-${{ matrix.os }}
2832 path : tests/integration/results/integration_test/logs
33+ if-no-files-found : ignore
2934 retention-days : 30
35+ - name : Fail if integration or linting failed
36+ if : ${{ steps.tests.outcome == 'failure' || steps.linting.outcome == 'failure' }}
37+ run : exit 1
You can’t perform that action at this time.
0 commit comments