-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (31 loc) · 976 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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)