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
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,28 @@ jobs:
pip freeze | tee pip_freeze.log
- name: Unit tests
run: python3 manage.py test -v2

- name: Regression tests
id: regression_tests
run: bash RegressionTests/run.sh
# Continue even if tests fail, so that we can collect test outputs for debugging
continue-on-error: true

- name: Collect outputs
# This step will run even if the regression tests failed
run: |
find . -type f \( -name "*.log" -o -name "*.out" -o -name "*.diff" \) -print | cut -c3- > listing.txt
echo "Creating an artifact with the following files:"
cat listing.txt
7z a -tzip regression-tests-appraise.zip @listing.txt

- name: Publish outputs
uses: actions/upload-artifact@v4
with:
name: regression-tests-appraise
path: regression-tests-appraise.zip

# Enforce the failure
- name: Check on failures
if: steps.regression_tests.outcome == 'failure'
run: exit 1
Loading