Skip to content

Commit c5f31f1

Browse files
committed
fix workflow conditionals
1 parent f68fc68 commit c5f31f1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/webdriver-v1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
strategy:
1515
matrix:
1616
platform: [ubuntu-22.04, windows-latest]
17-
webdriver-test: [ selenium, webdriverio ]
17+
webdriver-test: [selenium, webdriverio]
1818
steps:
1919
- uses: actions/checkout@v2
2020

2121
- name: Tauri dependencies
22-
if: matrix.platform == 'ubuntu-latest'
22+
if: matrix.platform == 'ubuntu-22.04'
2323
run: >
2424
sudo apt-get update &&
2525
sudo apt-get install -y
@@ -68,14 +68,14 @@ jobs:
6868
run: cargo install tauri-driver --locked
6969

7070
- name: run tests using ${{ matrix.webdriver-test }} (Linux)
71-
if: matrix.platform == 'ubuntu-latest'
71+
if: matrix.platform == 'ubuntu-22.04'
7272
run: |
7373
pnpm install
7474
xvfb-run pnpm test
7575
working-directory: v1/webdriver/${{ matrix.webdriver-test }}
7676

7777
- name: run tests using ${{ matrix.webdriver-test }} (Windows)
78-
if: matrix.platform == 'ubuntu-latest'
78+
if: matrix.platform == 'windows-latest'
7979
run: |
8080
pnpm install
8181
pnpm test

.github/workflows/webdriver-v2.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,16 @@ jobs:
6565
- name: Install tauri-driver
6666
run: cargo install tauri-driver --locked
6767

68-
- name: run tests using ${{ matrix.webdriver-test }}
68+
- name: run tests using ${{ matrix.webdriver-test }} (Linux)
69+
if: matrix.platform == 'ubuntu-latest'
6970
run: |
7071
pnpm install
7172
xvfb-run pnpm test
7273
working-directory: v2/webdriver/${{ matrix.webdriver-test }}
74+
75+
- name: run tests using ${{ matrix.webdriver-test }} (Windows)
76+
if: matrix.platform == 'windows-latest'
77+
run: |
78+
pnpm install
79+
pnpm test
80+
working-directory: v1/webdriver/${{ matrix.webdriver-test }}

0 commit comments

Comments
 (0)