Commit graph

6 commits

Author SHA1 Message Date
Jakub Kadlcik
e2f79c8f41 Don't run tests for python3.7 2024-12-10 17:04:26 +01:00
Pavel Raiskup
167a91cb4f tests: make the fedora-tox.yml working
This is tricky.  Note the sys.path hack in test/unit/__init__.py where
we intentionally use the Fedora's default Python libraries with a
different Python version selected by Tox.  Right now it means that we
use, e.g., python3-rpm compiled for Python 3.12 (F39) with Python 3.7
(which probably works because Tox is executed as root in the tox
container, overwriting the pre-compiled *.pyc files in container).

Some tests need to be skipped in Tox, therefore the skip_if_tox()
method.

Also, the GitHub's action for 'git checkout' provides somewhat
non-standard environment for Tito to work, hence the fix_tox_env()
configuration method.
2024-11-06 11:19:55 +01:00
Pavel Raiskup
3ec27836f3 tests: make tox tests working 2024-11-06 11:19:55 +01:00
Jakub Kadlcik
2061732f6b Rename master branch to main
Fix #438
2024-04-23 12:32:37 +02:00
Lumír 'Frenzy' Balhar
6324a06670 Switch tox-github-action from master to main branch 2023-04-17 01:03:11 +02:00
Pavel Raiskup
96859ee484 automation: some useful pre-commit workflows
- enable differential PyLint checker
- enable differential ShellCheck (there's a bash script in this repo)
- enable Fedora test matrix
2023-01-24 14:14:56 +01:00