Skip to content

Commit c500a51

Browse files
Revert "ci: skip windows e2e tests in specific scenario (#2386)" (#2406)
This reverts commit 21a82d4.
1 parent a492e01 commit c500a51

File tree

1 file changed

+5
-66
lines changed

1 file changed

+5
-66
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,6 @@ on:
77
branches: ['**']
88

99
jobs:
10-
changes:
11-
runs-on: ubuntu-latest
12-
outputs:
13-
is_specific: ${{ steps.path-check.outputs.specific_dir }}
14-
is_others: ${{ steps.path-check.outputs.others }}
15-
steps:
16-
- id: path-check
17-
uses: dorny/paths-filter@v2
18-
with:
19-
list-files: shell
20-
filters: |
21-
specific_dir:
22-
- 'packages/cli-platform-ios/**'
23-
- 'packages/cli-platform-apple/**'
24-
others:
25-
- '**/**'
26-
- '!packages/cli-platform-ios/**'
27-
- '!packages/cli-platform-apple/**'
2810
lint:
2911
name: Lint
3012
runs-on: ubuntu-latest
@@ -63,7 +45,7 @@ jobs:
6345
strategy:
6446
matrix:
6547
node-version: [18, 20]
66-
os: [ubuntu-latest, macos-latest]
48+
os: [ubuntu-latest, macos-latest, windows-2019]
6749
runs-on: ${{ matrix.os }}
6850
defaults:
6951
run:
@@ -88,6 +70,10 @@ jobs:
8870
with:
8971
python-version: '3.10'
9072

73+
- name: Add msbuild to PATH
74+
if: runner.os == 'windows'
75+
uses: microsoft/[email protected]
76+
9177
- name: Use Node.js ${{ matrix.node-version }}
9278
uses: actions/setup-node@v3
9379
with:
@@ -104,50 +90,3 @@ jobs:
10490

10591
- name: E2E tests
10692
run: yarn test:ci:e2e
107-
108-
e2e-tests-windows:
109-
needs: changes
110-
if: needs.changes.outputs.is_others == 'true'
111-
runs-on: windows-latest
112-
strategy:
113-
matrix:
114-
node-version: [18, 20]
115-
os: [windows-2019]
116-
defaults:
117-
run:
118-
shell: bash
119-
steps:
120-
- uses: actions/checkout@v3
121-
122-
- uses: actions/setup-java@v3
123-
with:
124-
distribution: 'zulu'
125-
java-version: 17
126-
127-
- uses: gradle/actions/setup-gradle@v3
128-
129-
- uses: actions/setup-python@v4
130-
if: runner.os == 'macOS'
131-
with:
132-
python-version: '3.10'
133-
134-
- name: Add msbuild to PATH
135-
if: runner.os == 'windows'
136-
uses: microsoft/[email protected]
137-
138-
- name: Use Node.js ${{ matrix.node-version }}
139-
uses: actions/setup-node@v3
140-
with:
141-
node-version: ${{ matrix.node-version }}
142-
cache: yarn
143-
144-
- name: Setup Git user
145-
run: |
146-
git config --global user.name "test"
147-
git config --global user.email "[email protected]"
148-
149-
- name: Install dependencies
150-
run: yarn --frozen-lockfile
151-
152-
- name: E2E tests
153-
run: yarn test:ci:e2e

0 commit comments

Comments
 (0)