Skip to content

Update

Update #3061

Workflow file for this run

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 }}'