Skip to content

deps: Drop support for old Python versions #84

deps: Drop support for old Python versions

deps: Drop support for old Python versions #84

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PYTHONUNBUFFERED: 1
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements*.txt
- name: Install System dependencies
run: |
sudo apt-get update
sudo apt-get install -qq -y --no-install-recommends libxmlsec1-dev swig
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install coverage tox
- name: Test with tox
run: tox -e "py${PYTHON_VERSION/\./}"
- uses: codecov/codecov-action@v3
with:
flags: unittests
name: Python ${{ matrix.python-version }}