From 6426a838d2bab3640664020d5c57936a27d3c15d Mon Sep 17 00:00:00 2001 From: Konrad Date: Thu, 21 Nov 2024 17:18:12 +0100 Subject: [PATCH] feat: upload artifacts from visual comparison for inspection It allows evaluating whether the visual differences are acceptable --- .github/workflows/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e72a6b1..7818ad6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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' + path: 'tmp/reference-image-matches' + if-no-files-found: ignore + if: success() || steps.test.conclusion == 'failure'