Skip to content

CI

CI #157

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# also see pyupgrade in test_tools.py
python-version: [3.11]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade -r dev_requirements.txt
- name: pytest
run: PYTHONHASHSEED=random pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1