Skip to content

Commit

Permalink
shard by spec on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexplischke committed Jun 18, 2024
1 parent 6bfbf58 commit 3767801
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
working-directory: v1

cucumber:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
15 changes: 8 additions & 7 deletions v1/examples/cucumber/.sauce/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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.
Expand Down

0 comments on commit 3767801

Please sign in to comment.