-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (44 loc) · 1.13 KB
/
correctness_checks.yml
File metadata and controls
52 lines (44 loc) · 1.13 KB
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
45
46
47
48
49
50
51
52
name: Correctness Checks
on:
push:
branches:
- main
pull_request:
paths:
- '.github/workflows/**'
- 'traincheck/invariant/**'
- 'traincheck/onlinechecker/**'
- 'traincheck/checker_online.py'
- 'traincheck/checker.py'
permissions:
contents: write
deployments: write
pull-requests: write
jobs:
correctness-check:
runs-on: self-hosted
name: Run Correctness Checks
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
name: Checkout TrainCheck-Benchmarks
with:
repository: OrderLab/TrainCheck-Benchmarks
path: benchmarks
lfs: true
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run correctness script
run: |
cd benchmarks/correctness_check
python3 correct_check.py
- name: Clear check files
run: |
cd benchmarks/correctness_check
rm -rf trace_*
rm -rf traincheck_*