FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-python/.github/workflows/test.yml at main · msgpack/msgpack-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
msgpack
/
msgpack-python
Public
Notifications
You must be signed in to change notification settings
Fork
256
Star
2.1k
Code
Issues
4
Pull requests
5
Discussions
Actions
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-python
/
.github
/
workflows
/
test.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
87 lines (74 loc) · 2.25 KB
Breadcrumbs
msgpack-python
/
.github
/
workflows
/
test.yml
Copy path
File metadata and controls
87 lines (74 loc) · 2.25 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name
:
Run tests
on
:
push
:
branches
:
[main]
pull_request
:
create
:
jobs
:
test
:
strategy
:
matrix
:
os
:
-
ubuntu-latest
-
ubuntu-24.04-arm
-
windows-latest
-
windows-11-arm
-
macos-15-intel
-
macos-latest
py
:
["3.15", "3.15t", "3.14", "3.14t", "3.13", "3.12", "3.11", "3.10"]
exclude
:
-
os
:
windows-11-arm
py
:
"
3.10
"
runs-on
:
${{ matrix.os }}
name
:
Run test with Python ${{ matrix.py }} on ${{ matrix.os }}
steps
:
-
name
:
Checkout
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
-
name
:
Set up Python
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
with
:
python-version
:
${{ matrix.py }}
allow-prereleases
:
true
cache
:
"
pip
"
-
name
:
Prepare
shell
:
bash
run
:
|
python -m pip install -r requirements.txt pytest
-
name
:
Install pytest-run-parallel under free-threading
if
:
contains(matrix.py, 't')
run
:
|
pip install pytest-run-parallel
-
name
:
Build
shell
:
bash
run
:
|
make cython
pip install .
-
name
:
Test (C extension)
if
:
${{ ! contains(matrix.py, 't') }}
shell
:
bash
run
:
|
pytest -v test
-
name
:
Test (pure Python fallback)
if
:
${{ ! contains(matrix.py, 't') }}
shell
:
bash
run
:
|
MSGPACK_PUREPYTHON=1 pytest -v test
-
name
:
Test (C extension) in parallel under free-threading
if
:
contains(matrix.py, 't')
shell
:
bash
run
:
|
pytest -v --parallel-threads=auto --iterations=20 test
-
name
:
Test (pure Python fallback) in parallel under free-threading
if
:
contains(matrix.py, 't')
shell
:
bash
run
:
|
MSGPACK_PUREPYTHON=1 pytest -v --parallel-threads=auto --iterations=20 test
-
name
:
build packages
shell
:
bash
run
:
|
python -m build -nv
-
name
:
upload packages
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7.0.1
with
:
name
:
dist-${{ matrix.os }}-${{ matrix.py }}
path
:
dist
Back
|
FazBrowse Home
|
New Git URL