Skip to content

Commit 6cabe78

Browse files
committed
Use partdiff_tester GitHub action
1 parent 0ad5e25 commit 6cabe78

1 file changed

Lines changed: 14 additions & 30 deletions

File tree

.github/workflows/correctness_check.yaml

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,18 @@ jobs:
1515
- name: Build partdiff
1616
run: make
1717

18-
- name: Install Valgrind
19-
run: sudo apt-get update && sudo apt-get install -y valgrind
20-
21-
- name: Install uv
22-
uses: astral-sh/setup-uv@v6
23-
with:
24-
version: "0.9.8"
25-
26-
- name: Set up Python
27-
run: uv python install
28-
29-
- name: Clone partdiff_tester
30-
run: git clone https://github.com/parcio/partdiff_tester.git
31-
3218
- name: Run small correctness check subset with valgrind
33-
run: |
34-
cd partdiff_tester && \
35-
uv run pytest -n auto --verbose \
36-
--executable='../partdiff' \
37-
--strictness=4 \
38-
--valgrind \
39-
--shuffle=42 \
40-
--max-num-tests=5
41-
42-
- name: Run correctness check
43-
run: |
44-
cd partdiff_tester && \
45-
uv run pytest -n auto --verbose \
46-
--executable='../partdiff' \
47-
--strictness=4 \
48-
--shuffle=42
19+
uses: parcio/partdiff_tester@v0.1.7
20+
with:
21+
executable: "./partdiff"
22+
strictness: "4"
23+
valgrind: "true"
24+
shuffle: "42"
25+
max_num_tests: "5"
26+
27+
- name: Run full correctness check without valgrind
28+
uses: parcio/partdiff_tester@v0.1.7
29+
with:
30+
executable: "./partdiff"
31+
strictness: "4"
32+
shuffle: "42"

0 commit comments

Comments
 (0)