2023-01-18 09:17:44 +01:00
|
|
|
---
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2024-04-22 18:24:42 +02:00
|
|
|
- main
|
2023-01-18 09:17:44 +01:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2024-04-22 18:24:42 +02:00
|
|
|
- main
|
2023-01-18 09:17:44 +01:00
|
|
|
|
|
|
|
name: Run Tox tests
|
|
|
|
jobs:
|
|
|
|
tox_test:
|
|
|
|
name: Tox test
|
|
|
|
steps:
|
2024-10-04 15:41:12 +02:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-01-18 09:17:44 +01:00
|
|
|
- name: Run Tox tests
|
|
|
|
id: test
|
2023-04-12 14:22:05 +02:00
|
|
|
uses: fedora-python/tox-github-action@main
|
2023-01-18 09:17:44 +01:00
|
|
|
with:
|
|
|
|
tox_env: ${{ matrix.tox_env }}
|
2024-10-04 15:41:12 +02:00
|
|
|
dnf_install: >
|
|
|
|
asciidoc
|
|
|
|
createrepo_c
|
|
|
|
docbook-style-xsl
|
|
|
|
git
|
|
|
|
git
|
|
|
|
git-annex
|
|
|
|
libxslt
|
|
|
|
python3-bugzilla
|
|
|
|
python3-rpm
|
|
|
|
rpm-build
|
|
|
|
rpmdevtools
|
|
|
|
rsync
|
|
|
|
which
|
2023-01-18 09:17:44 +01:00
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
tox_env:
|
2024-10-03 08:39:17 +02:00
|
|
|
# sync with /tox.ini
|
|
|
|
- py36
|
2023-01-18 09:17:44 +01:00
|
|
|
- py37
|
|
|
|
- py311
|
2024-10-03 08:39:17 +02:00
|
|
|
- py312
|
|
|
|
- py313
|
2023-01-18 09:17:44 +01:00
|
|
|
|
|
|
|
# Use GitHub's Linux Docker host
|
|
|
|
runs-on: ubuntu-latest
|