From 84505fc154cb154a75d526a6fd46a9c87f48f250 Mon Sep 17 00:00:00 2001 From: Vladislav Bulyukhin Date: Wed, 24 Jan 2024 10:50:34 +0100 Subject: [PATCH] Change workflows runtime to ubuntu-latest --- .github/workflows/pull-request.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d7e3504..51cfe3f 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -41,7 +41,7 @@ jobs: visual-regression: name: Visual tests - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index e2a875e..da3982a 100644 --- a/README.md +++ b/README.md @@ -674,9 +674,9 @@ Visual regression tests use the built version of SDK, so before running them mak last change you made. You can this using the `npm run build` command or using the `npm run dev` command to start build in a watch mode. -Please note that the reference screenshots for visual regression tests are created on the `windows-latest` environment, +Please note that the reference screenshots for visual regression tests are created on the `ubuntu-latest` environment, which is utilized in our GitHub Action workflow for visual tests. It means tests could (and probably will) fail on -another OS. In case the visual regression tests fail during a pull request, and you need to update reference screenshots, +Windows. In case the visual regression tests fail during a pull request, and you need to update reference screenshots, you can locate the new screenshots in the failed GitHub Action run. Navigate to the Artifacts section (`.loki/current`) of the failed run to find the updated screenshots.