remove /plans/upstream
, replace it with CONTEST_CONTENT_LATEST
#20
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: Sanity self-tests | |
on: | |
pull_request: | |
jobs: | |
waivers-syntax-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Contest deps | |
run: sudo apt-get install -y python3-rpm | |
- name: Collect waivers | |
run: | | |
python3 <<'EOF' | |
import sys | |
from lib import waive | |
try: | |
list(waive.collect_waivers()) | |
sys.exit(0) | |
except waive.WaiveParseError as e: | |
print(str(e)) | |
sys.exit(1) | |
EOF | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install flake8 | |
run: python3 -m pip install flake8 | |
- name: Run flake8 | |
run: flake8 -v | |
tmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install tmt | |
run: python3 -m pip install tmt | |
- name: Run tmt lint | |
run: tmt lint --failed-only | |
- name: Run basic tmt run discover | |
run: tmt run -v plans -n /plans/default discover -h fmf |