diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 10d9f8773..8a61910d0 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-20.04 name: Code check and tests steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup node uses: actions/setup-node@v1 with: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 687ffe9a8..bb72d234d 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -12,9 +12,12 @@ jobs: env: DOWNLOAD_TIMEOUT: 60000 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Install node-canvas deps (macos) + if: matrix.os != 'ubuntu-20.04' + run: brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman - name: Install dependencies run: npm ci env: @@ -34,9 +37,9 @@ jobs: run: npm run test:e2e:chrome - name: Archive test results if: success() || failure() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 continue-on-error: true with: - name: image_comparison_results + name: image_comparison_results_${{ matrix.os }} path: .tmp retention-days: 5 diff --git a/tests/baseline/prostate_sample_views-chrome-linux-1200x800-1.png b/tests/baseline/prostate_sample_views-chrome-linux-1200x800-1.png index d921fa004..f3637094e 100644 Binary files a/tests/baseline/prostate_sample_views-chrome-linux-1200x800-1.png and b/tests/baseline/prostate_sample_views-chrome-linux-1200x800-1.png differ