Skip to content

Refactor out common code from ST pdf2html #3

Refactor out common code from ST pdf2html

Refactor out common code from ST pdf2html #3

Workflow file for this run

name: Run Regression Tests
on:
workflow_dispatch:
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 .
# This cache repository is private since copyright prevents republishing!
# Nicely ask @salkinium for access to this repository.
- name: Check out STMicro PDF Archive
uses: actions/checkout@v3
with:
repository: modm-ext/archive-stmicro-pdf-regressions
path: ext/stmicro/pdf
- 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)