Skip to content

Commit f4a1b1d

Browse files
committed
CI: Use partdiff_tester GitHub action
1 parent 4d8386e commit f4a1b1d

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
@@ -23,34 +23,18 @@ jobs:
2323
- name: Build partdiff
2424
run: make
2525

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

0 commit comments

Comments
 (0)