Skip to content

Merge pull request #120 from ReubenJ/fix/missing-csv-header #104

Merge pull request #120 from ReubenJ/fix/missing-csv-header

Merge pull request #120 from ReubenJ/fix/missing-csv-header #104

Workflow file for this run

name: integrity-check
on: [push, pull_request]
jobs:
# Check formatting
check:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python.
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install AEON.
run: pip install -r requirements.txt
- name: Remove model files.
run: rm -rf models/*
- name: Run a fresh model sync.
run: python3 sync.py
- name: Check for changes
id: check_changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "changes=true" >> "$GITHUB_OUTPUT";
fi
- name: If there are changes, fail.
if: steps.check_changes.outputs.changed != 0
run: exit 1