mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 12:03:15 +00:00
ci: update workflows (#582)
This commit is contained in:
parent
039022cecb
commit
bf7bf88ad0
2 changed files with 16 additions and 4 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
@ -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-${{ matrix.os }}-${{ matrix.py }}
|
||||
path: dist
|
||||
|
|
6
.github/workflows/wheel.yml
vendored
6
.github/workflows/wheel.yml
vendored
|
@ -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"
|
||||
|
@ -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
|
||||
name: wheels-${{ matrix.os }}
|
||||
path: wheelhouse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue