Skip to content

Commit

Permalink
Add workflow step to upload images when image comparisson test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Oct 3, 2024
1 parent 6e715d8 commit 6d5c0a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test_ert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
run: |
pytest --cov=ert --cov-report=xml:cov1.xml --junit-xml=junit.xml -o junit_family=legacy -v --mpl --benchmark-disable tests/ert/ui_tests/gui
- name: Upload artifact images
uses: actions/upload-artifact@v4
if: ${{ failure() }}
continue-on-error: true
with:
name: test-images-${{ github.run_number }}-${{ github.run_id }}
path: /tmp/tmp*/**/*.png

- name: CLI Test
if: inputs.test-type == 'cli-tests'
run: |
Expand Down

0 comments on commit 6d5c0a2

Please sign in to comment.