Add StratisCertify tests for snapshot revert #790
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: testing CI | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'CHANGES.txt' | |
- 'README.md' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- 'CHANGES.txt' | |
- 'README.md' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
python-checks: | |
strategy: | |
matrix: | |
include: | |
# MANDATORY CHECKS USING CURRENT DEVELOPMENT INTERPRETER | |
- dependencies: > | |
pylint | |
python3-dbus | |
python3-dbus-python-client-gen | |
python3-justbytes | |
python3-gobject | |
python3-psutil | |
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT | |
task: PYTHONPATH=./src make -f Makefile lint | |
- dependencies: > | |
black | |
python3-isort | |
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT | |
task: make -f Makefile fmt-travis | |
# VERIFICATION OF TEST INFRASTRUCTURE | |
- dependencies: yamllint | |
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT | |
task: make -f Makefile yamllint | |
runs-on: ubuntu-latest | |
container: ${{ matrix.image }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: > | |
dnf install -y | |
make | |
python-unversioned-command | |
${{ matrix.dependencies }} | |
- name: Display Python version | |
run: python --version | |
- name: Run test | |
run: ${{ matrix.task }} |