-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (35 loc) · 944 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
42
43
44
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: Check out Test Docs Repository
uses: actions/checkout@v3
with:
repository: modm-ext/modm-data-test-docs
path: ext/test/regression
- 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
run: |
make run-regression-tests
- name: Run Ruff Formatter
uses: chartboost/ruff-action@v1
with:
src: "./src"
args: "format --check"
- name: Run Ruff Linter
uses: chartboost/ruff-action@v1
with:
src: "./src"
args: "check"