Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #64

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #64

Workflow file for this run

---
name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
CAPNPROTO: capnproto-c++-0.7.0
jobs:
tox_tests:
name: tox -e ${{ matrix.toxenv }}
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- python-version: '3.7'
toxenv: 'py37-test'
- python-version: '3.8'
toxenv: 'py38-test'
- python-version: '3.9'
toxenv: 'py39-test'
- python-version: '3.10'
toxenv: 'py310-test'
- python-version: '3.11'
toxenv: 'py311-test'
- python-version: 'pypy-3.7'
toxenv: 'pypy3-test'
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache capnproto
uses: actions/cache@v2
env:
cache-name: cache-capnproto
with:
path: ~/capnproto
key: ${{ env.CAPNPROTO }}-${{ runner.os }}
- name: Install capnproto
run: bash ./ci/install_capnp.sh
- name: pip install
run: |
pip install -U pip # so that we can use wheels
# tox creates the sdist: we need cython to be installed in the env which
# creates the sdist, to generate the .c files
pip install tox==3.28.0 cython==0.29.36
- name: Run tox
run: tox -e ${{ matrix.toxenv }}