Add basic CI action
Some checks failed
Tests / test (pull_request) Failing after 3m21s

This commit is contained in:
Lubomír Sedlář 2026-05-28 15:45:15 +02:00
commit a5222412b4
2 changed files with 29 additions and 2 deletions

View file

@ -0,0 +1,26 @@
name: Tests
on:
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: podman
container:
image: quay.io/fedora/fedora:latest
steps:
- name: Install dependencies
run: |
dnf -y install nodejs tox git \
python3.9 python3.9-devel \
python3.12 python3.12-devel \
python3.14 python3.14-devel \
python3-rpm krb5-devel gcc
- uses: actions/checkout@v3
- name: Cache tox environments
uses: actions/cache@v3
with:
path: .tox
key: tox-${{ hashFiles('tox.ini', 'setup.py') }}
- name: Run tests
run: tox

View file

@ -1,5 +1,5 @@
[tox]
envlist=py27,py36,py38,py39,py310,py311,coverage
envlist=py39,py312,py314,py315,coverage
skip_missing_interpreters = true
minversion=3.12.0
@ -10,7 +10,8 @@ deps=
freezegun
koji
kobo>=0.10.0
rpm-py-installer
rpm
setuptools
setenv =
COVERAGE_FILE={env:COVERAGE_FILE:{toxworkdir}/.coverage.{envname}}
commands=