Skip to content

Commit

Permalink
[ci] Add basic regression test to PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
salkinium committed Nov 15, 2024
1 parent 5851a7f commit 75174ef
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Regression Tests

on:

on:
pull_request:

jobs:
regressions:
runs-on: ubuntu-latest
steps:

- name: Check out Repository
uses: actions/checkout@v3

- name: Setup Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install Python Dependencies
run: |
pip3 install .
- name: Run Regression Tests
working-directory: test
run: |
./convert_html.sh
- name: Check Results
run: |
git diff-index --quiet --cached HEAD -- || (echo "Changes detected!" && exit 1)

0 comments on commit 75174ef

Please sign in to comment.