Update #3064
Workflow file for this run
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 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
ci-basic: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install base Python dependencies | |
run: | | |
python3 -m pip install --upgrade tox | |
- name: Execute tox | |
run: | | |
tox -e black,flake8,isort,poetry | |
ci-unittests: | |
strategy: | |
fail-fast: false | |
matrix: | |
tox-env: ["py38", "py39", "py310", "py311", "py312"] | |
runs-on: ubuntu-latest | |
container: fedorapython/fedora-python-tox:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install RPM dependencies | |
run: | | |
dnf install -y libpq-devel postgresql-server libffi-devel | |
- name: Set up testrunner user | |
run: | | |
useradd testrunner | |
chown -R testrunner: . | |
- name: Execute tox | |
run: | | |
su testrunner -c 'tox -e ${{ matrix.tox-env }}' |