Skip to content

Commit

Permalink
feat: upload artifacts from visual comparison for inspection
Browse files Browse the repository at this point in the history
It allows evaluating whether the visual differences are acceptable
The condition in step description ensures that the artifacts are not uploaded on cancelled builds
  • Loading branch information
knarewski committed Nov 27, 2024
1 parent b765f41 commit 41ccc41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,11 @@ jobs:
run: bundle exec rake compile
- name: run the tests
run: bundle exec rspec
id: test
- name: upload test artifacts
uses: actions/upload-artifact@v4
with:
name: "visual-matching-results-ruby-${{ matrix.ruby}}"
path: 'tmp/reference-image-matches'
if-no-files-found: ignore
if: success() || steps.test.conclusion == 'failure'

0 comments on commit 41ccc41

Please sign in to comment.