⬆️ Auto-updated dependencies on 2024-10-14 (#119) #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI tox | |
on: [push, pull_request] | |
jobs: | |
ci-tox: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
include: | |
- name: Ubuntu 20.04 - Python 3.8 | |
os: ubuntu-20.04 | |
python-minor: 8 | |
- name: Ubuntu 20.04 - Python 3.9 | |
os: ubuntu-20.04 | |
python-minor: 9 | |
- name: Ubuntu 22.04 - Python 3.10 | |
os: ubuntu-22.04 | |
python-minor: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y python3.${{ matrix.python-minor }} python3.${{ matrix.python-minor }}-minimal python3.${{ matrix.python-minor }}-dev python3-pip tox | |
- name: Setup Python environment | |
run: | | |
python3 -m pip install --upgrade pip | |
- name: Run tox | |
run: tox -r -e py3${{ matrix.python-minor }} |