Skip to content

CI

CI #67

Workflow file for this run

name: CI
on:
push:
schedule:
- cron: '30 01 * * WED'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.9]
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Prepare python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements-dev.txt
- name: Run tox
run: python -m tox
- name: Run pre-commit hooks
run: pre-commit run --all-files
- name: Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml