Skip to content

Commit 1b77251

Browse files
authored
Merge pull request #841 from pytorch/malfet/add-windows-testing
Enable `pip install` tests on Windows
2 parents 6b50dc5 + 3d30c2b commit 1b77251

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/check-quickstartmodule.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
rel_type: [ "latest_stable", "latest_lts" ]
5858
acc_type: [ "cuda11.x", "cuda10.2", "accnone" ]
5959
py_vers: [ "3.7", "3.8", "3.9" ]
60-
os: ["ubuntu-18.04", "macos-latest"]
60+
os: ["ubuntu-18.04", "macos-latest", "windows.4xlarge"]
6161
env:
6262
TEST_ACC: ${{ matrix.acc_type }}
6363
TEST_VER: ${{ matrix.rel_type }}
@@ -72,6 +72,13 @@ jobs:
7272
- name: Test pip3 install
7373
run: |
7474
python3 scripts/test_install.py
75+
if: runner.os != 'Windows'
76+
- name: Test pip3 install on Windows
77+
shell: powershell
78+
run: |
79+
$env:PATH+=';'+$env:pythonLocation
80+
python3.exe scripts/test_install.py
81+
if: runner.os == 'Windows'
7582

7683
conda-install:
7784
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)