From 8291ae1734170fb1a21f4ef508f87939095e4653 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..5debac4 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-ruby-${{ matrix.ruby}}" + path: 'tmp/reference-image-matches' + if-no-files-found: ignore + if: success() || steps.test.conclusion == 'failure'