Skip to content

Commit

Permalink
ci: Update action versions. (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane authored May 24, 2022
1 parent 500a238 commit 63837a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,24 @@ 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"

- name: Build
shell: bash
run: |
python -m pip install -U pip
pip install -r requirements.txt pytest
make cython
pip install .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up QEMU
if: runner.os == 'Linux'
Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 63837a4

Please sign in to comment.