ci: Update action versions. (#507)

This commit is contained in:
Inada Naoki 2022-05-24 20:13:07 +09:00 committed by GitHub
parent 500a238028
commit 63837a44d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -10,17 +10,17 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, windows-2022, macos-10.15]
py: ["3.10", "3.9", "3.8", "3.7", "3.6"]
py: ["3.11-dev", "3.10", "3.9", "3.8", "3.7", "3.6"]
runs-on: ${{ matrix.os }}
name: Run test with Python ${{ matrix.py }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.py }}
cache: "pip"
@ -28,7 +28,6 @@ jobs:
- name: Build
shell: bash
run: |
python -m pip install -U pip
pip install -r requirements.txt pytest
make cython
pip install .

View file

@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up QEMU
if: runner.os == 'Linux'
@ -23,7 +23,7 @@ jobs:
platforms: arm64
- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.9
cache: "pip"
@ -35,7 +35,7 @@ jobs:
make cython
- name: Build
uses: pypa/cibuildwheel@v2.2.2
uses: pypa/cibuildwheel@v2.5.0
env:
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/test"