FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
gyp-next/.github/workflows/python_tests.yml at main · nodejs/gyp-next · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
nodejs
/
gyp-next
Public
Notifications
You must be signed in to change notification settings
Fork
100
Star
155
Code
Issues
23
Pull requests
9
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
gyp-next
/
.github
/
workflows
/
python_tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
59 lines (57 loc) · 2.17 KB
Breadcrumbs
gyp-next
/
.github
/
workflows
/
python_tests.yml
Copy path
File metadata and controls
59 lines (57 loc) · 2.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
TODO: Enable pytest --doctest-modules
name
:
Python_tests
on
:
push
:
pull_request
:
workflow_dispatch
:
permissions
:
{}
jobs
:
Python_lint
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
persist-credentials
:
false
-
name
:
Lint with ruff
#
See pyproject.toml for settings
uses
:
astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89
#
v4.1.0
-
run
:
ruff format --check --diff
-
uses
:
wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed
#
v6.2.1
Python_tests
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[macos-latest, ubuntu-latest, windows-latest]
python-version
:
["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
include
:
-
os
:
macos-26-intel
#
macOS on Intel
python-version
:
3.x
-
os
:
ubuntu-24.04-arm
#
Ubuntu on ARM
python-version
:
3.x
-
os
:
windows-11-arm
#
Windows on ARM
python-version
:
3.x
-
os
:
windows-2025-vs2026
#
Windows with Visual Studio 2026
python-version
:
3.x
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
persist-credentials
:
false
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
with
:
python-version
:
${{ matrix.python-version }}
allow-prereleases
:
true
-
uses
:
seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67
#
v6
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install --editable ".[dev]"
-
run
:
./gyp -V && ./gyp --version && gyp -V && gyp --version
-
name
:
Test with pytest
#
See pyproject.toml for settings
run
:
pytest
#
- name: Run doctests with pytest
#
run: pytest --doctest-modules
-
name
:
Test CLI commands on a pipx install
run
:
|
pipx run --no-cache --spec ./ gyp --help
pipx run --no-cache --spec ./ gyp --version
Back
|
FazBrowse Home
|
New Git URL