GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: add Windows to GitHub Actions testing (#1996) · nodejs/node-gyp@31ecc84

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • Python_tests.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/Python_tests.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/Python_tests.yml
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# TODO: Line 14, enable os: windows-latest
21
# TODO: Line 15, enable python-version: 3.5
32
# TODO: Line 36, enable pytest --doctest-modules
43

@@ -11,7 +10,7 @@ jobs:
1110
fail-fast: false
1211
max-parallel: 15
1312
matrix:
14-
os: [macos-latest, ubuntu-latest] # , windows-latest]
13+
os: [macos-latest, ubuntu-latest, windows-latest]
1514
python-version: [2.7, 3.6, 3.7, 3.8] # 3.5,
1615
steps:
1716
- uses: actions/checkout@v1
@@ -30,7 +29,12 @@ jobs:
3029
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3130
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
3231
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
33-
- name: Test with pytest
32+
- name: Test with pytest (Linux and macOS)
33+
if: matrix.os != 'windows-latest'
3434
run: pytest
35+
- name: Test with pytest (Windows)
36+
if: matrix.os == 'windows-latest'
37+
shell: bash
38+
run: GYP_MSVS_VERSION=2015 GYP_MSVS_OVERRIDE_PATH="C:\\Dummy" pytest
3539
# - name: Run doctests with pytest
3640
# run: pytest --doctest-modules

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.