Action: Update test workflow

This commit is contained in:
Inada Naoki 2023-03-09 01:22:38 +09:00
parent 35b2d246cf
commit 0516c2c2a9

View file

@ -9,7 +9,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-22.04, windows-2022, macos-10.15]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
py: ["3.11", "3.10", "3.9", "3.8", "3.7"]
runs-on: ${{ matrix.os }}
@ -41,9 +41,3 @@ jobs:
shell: bash
run: |
MSGPACK_PUREPYTHON=1 pytest -v test
- name: Publish Wheels to TestPyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}