install: add raid1/disk variants #396
This file contains hidden or 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: Check test-sequences consistency | |
on: [push] | |
jobs: | |
jobs-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements/base.txt | |
- name: Create a dummy data.py | |
run: cp data.py-dist data.py | |
- name: jobs-check | |
run: | | |
FAILURES="" | |
for seq in $(find -name "*.lst"); do | |
if ! pytest @$seq --collect-only --quiet; then | |
FAILURES="$FAILURES $seq" | |
fi | |
done | |
[ -z "$FAILURES" ] || { echo >&2 "ERROR: test sequences failed consistency check: $FAILURES"; exit 1; } |