From 29e639079f7c29a75340858b4e4e2d7af2e84720 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 +- .github/workflows/release.yml | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 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/.github/workflows/release.yml b/.github/workflows/release.yml index a9eca11..32bd98b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: publish: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 9792086..f489a9c 100644 --- a/README.md +++ b/README.md @@ -733,9 +733,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.