Skip to content

Commit

Permalink
[tests] update github actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaine committed Oct 18, 2022
1 parent 3930580 commit e47d967
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Build documentation
Expand All @@ -21,8 +21,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install packages
Expand All @@ -46,8 +46,8 @@ jobs:
- '3.8'
- '3.7'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Disable firewall and configure compiler
Expand All @@ -73,20 +73,20 @@ jobs:
coverage xml
shell: bash
- name: Upload coverage report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
if: matrix.python != 'pypy3'

package-source:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Build source package
run: python setup.py sdist
- name: Upload source package
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand All @@ -110,13 +110,13 @@ jobs:
- os: windows-latest
arch: x86
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install QEMU
if: matrix.os == 'ubuntu-latest'
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2
- name: Build wheels
env:
CIBW_ARCHS: ${{ matrix.arch }}
Expand All @@ -132,7 +132,7 @@ jobs:
pip install cibuildwheel
cibuildwheel --output-dir dist
- name: Upload wheels
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/
Expand All @@ -141,8 +141,8 @@ jobs:
runs-on: ubuntu-latest
needs: [lint, test, package-source, package-wheel]
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v1
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dist
path: dist/
Expand Down

0 comments on commit e47d967

Please sign in to comment.