From 3767801528d379e0d2b3db75d8638a88a0749982 Mon Sep 17 00:00:00 2001 From: Alex Plischke Date: Tue, 18 Jun 2024 14:32:15 -0700 Subject: [PATCH] shard by spec on windows --- .github/workflows/test-v1.yml | 2 +- v1/examples/cucumber/.sauce/config.yml | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-v1.yml b/.github/workflows/test-v1.yml index 62f34ec..90cd28b 100644 --- a/.github/workflows/test-v1.yml +++ b/.github/workflows/test-v1.yml @@ -26,7 +26,7 @@ jobs: working-directory: v1 cucumber: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v4 diff --git a/v1/examples/cucumber/.sauce/config.yml b/v1/examples/cucumber/.sauce/config.yml index 4e91cc6..0cfbd07 100644 --- a/v1/examples/cucumber/.sauce/config.yml +++ b/v1/examples/cucumber/.sauce/config.yml @@ -18,8 +18,9 @@ suites: - name: "Chrome - Windows" browser: "chrome" platformName: "Windows 11" + shard: spec config: - specPattern: ["cypress/e2e/**/*.feature"] # Cypress native glob support. + specPattern: ["cypress/2e/**/*.feature"] # Cypress native glob support. # - name: "Cucumber w/ allure-plugin" # browser: "chrome" @@ -31,12 +32,12 @@ suites: # specPattern: [ "cypress/e2e/**/*.feature" ] # Cypress native glob support. # Controls what artifacts to fetch when the suites have finished. -artifacts: - download: - when: always - match: - - "*" - directory: ./artifacts/ +# artifacts: +# download: +# when: always +# match: +# - "*" +# directory: ./artifacts/ # https://docs.saucelabs.com/web-apps/automated-testing/cypress/advanced/#including-node-dependencies # Any additional dependencies need to be configured here so that they are packaged on demand.