Skip to content

Merge pull request #9 from jaimergp/pin-gha #57

Merge pull request #9 from jaimergp/pin-gha

Merge pull request #9 from jaimergp/pin-gha #57

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: Test py${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
pip install tox tox-gh-actions
- name: Test
run: tox -e py
- name: Coverage
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0