Skip to content

Fix CI workflow

Fix CI workflow #10

Workflow file for this run

name: Check
on:
push:
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check content
run: python scripts/check.py
- name: Check ordering
shell: bash
run: |
tmpdir="$(mktemp -d -p ~)"
cp *.tsv scripts/ambi.csv "$tmpdir"
python scripts/uniqsort.py
for i in *.tsv; do
diff "$i" "$tmpdir/$i"
done
python scripts/sort_ambi.py
diff scripts/ambi.csv "$tmpdir/ambi.csv"