Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
ci: update workflows
  • Loading branch information
methane committed Mar 1, 2024
commit ff20fe427cac3f24d0861e1a38ce0085bec0b22c
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
allow-prereleases: true
Expand All @@ -42,3 +42,15 @@ jobs:
shell: bash
run: |
MSGPACK_PUREPYTHON=1 pytest -v test

- name: build packages
shell: bash
run: |
pip install build
python -m build

- name: upload packages
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
make cython

- name: Build
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/test"
Expand All @@ -52,7 +52,7 @@ jobs:
python -m build -w -o wheelhouse

- name: Upload Wheels to artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: Wheels
path: wheelhouse