Skip to content

Commit

Permalink
Fix the python versions for windows wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Finnie committed Aug 3, 2024
1 parent 74c9ff0 commit a58a8ed
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
pip install .
- name: Run tests
run: python -m unittest discover --start-directory tests
run: python -m unittest discover -s {project}/tests

build_wheels:
name: Build wheels on ${{ matrix.os }}
Expand All @@ -77,16 +77,16 @@ jobs:
include:
# Window 64 bit
- os: windows-latest
python: 39
python: cp39
platform_id: win_amd64
- os: windows-latest
python: 310
python: cp310
platform_id: win_amd64
- os: windows-latest
python: 311
python: cp311
platform_id: win_amd64
- os: windows-latest
python: 312
python: cp312
platform_id: win_amd64

# # Linux 64 bit manylinux2014
Expand Down Expand Up @@ -128,6 +128,7 @@ jobs:
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform_id }}*
CIBW_TEST_COMMAND: python -W default -m unittest discover -s {project}/tests


- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a58a8ed

Please sign in to comment.