File tree Expand file tree Collapse file tree 4 files changed +1205
-1061
lines changed Expand file tree Collapse file tree 4 files changed +1205
-1061
lines changed Original file line number Diff line number Diff line change @@ -18,32 +18,35 @@ jobs:
18
18
- uses : actions/checkout@v4
19
19
-
uses :
prefix-dev/[email protected]
20
20
with :
21
- environments : dev
21
+ environments : >-
22
+ dev
23
+ nogil
22
24
cache : true
23
25
24
26
- name : Re-install local
25
27
run : |
26
28
# Needed on Windows CI to compile with Visual Studio compiler
27
29
# otherwise Meson detects a MINGW64 platform and use MINGW64
28
30
# toolchain
29
- pixi reinstall -e dev --frozen fastcan -- -Csetup-args=--vsenv
31
+ pixi reinstall -e dev --frozen fastcan
32
+ pixi reinstall -e nogil --frozen fastcan
30
33
31
34
- name : Test with pytest
32
35
run : |
33
- pixi run test
36
+ pixi run -e dev test
34
37
- name : Test with doctest
35
38
shell : bash
36
39
run : |
37
- pixi run doc
38
- CMD=doctest pixi run doc
40
+ pixi run -e dev doc
41
+ CMD=doctest pixi run -e dev doc
39
42
- name : Test nogil
40
43
run : |
41
- pixi run nogil-eta
44
+ pixi run -e nogil nogil-eta
42
45
- name : Test coverage
43
46
if : runner.os == 'Linux'
44
47
shell : bash
45
48
run : |
46
- FMT=xml pixi run test-coverage
49
+ FMT=xml pixi run -e dev test-coverage
47
50
- name : Upload coverage reports to Codecov
48
51
if : runner.os == 'Linux'
49
52
uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change 41
41
CIBW_ARCHS_LINUX : auto64
42
42
CIBW_ARCHS_MACOS : x86_64 arm64
43
43
CIBW_ARCHS_WINDOWS : auto64
44
- CIBW_BEFORE_ALL_LINUX : yum install -y ninja-build python3-devel
45
- # Needed on Windows CI to compile with Visual Studio compiler
46
- # otherwise Meson detects a MINGW64 platform and use MINGW64
47
- # toolchain
48
- CIBW_CONFIG_SETTINGS_WINDOWS : " setup-args=--vsenv"
49
44
# Include free-threaded support
50
45
CIBW_ENABLE : cpython-freethreading
51
- # Numpy, scipy, Cython only have free-threaded wheels on scientific-python-nightly-wheels
52
- CIBW_BUILD_FRONTEND : ' pip; args: --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" --only-binary :all:'
53
46
- name : Upload package
54
47
uses : actions/upload-artifact@v4
55
48
with :
You can’t perform that action at this time.
0 commit comments