Skip to content

Merge pull request #870 from CZ-NIC/deprecate_py37 #693

Merge pull request #870 from CZ-NIC/deprecate_py37

Merge pull request #870 from CZ-NIC/deprecate_py37 #693

Workflow file for this run

name: Run tests and quality control
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '15 6 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python: [3.8, 3.9, "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests
run: |
tox
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3