Skip to content

chore: update pre-commit hooks #293

chore: update pre-commit hooks

chore: update pre-commit hooks #293

Workflow file for this run

name: ci-tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
tests:
name: "${{ matrix.session }} (${{ matrix.version }})"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ "ubuntu-latest" ]
version: [ "py38", "py39", "py310", "py311"]
session: [ "test" ]
include:
- version: "py311"
coverage: "--cov-report= --cov=tephi"
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
key: tox-${{ hashFiles('requirements/dev.yml') }}-${{ hashFiles('tox.ini') }}
path: |
.tox
- name: Run tox
run: |
pip install 'tox<4'
tox -e ${{ matrix.version }}-${{ matrix.session }}