Skip to content

Commit 26ca476

Browse files
committed
move list cmd to kani workflow
1 parent 9e5c5b8 commit 26ca476

File tree

2 files changed

+10
-47
lines changed

2 files changed

+10
-47
lines changed

.github/workflows/kani.yml

+10
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,13 @@ jobs:
6565
- name: Test Kani script (In Repo Directory)
6666
working-directory: ${{github.workspace}}/head
6767
run: scripts/run-kani.sh --kani-args --harness ptr::verify::check_read_u128 --harness ptr --output-format=terse
68+
69+
# Step 3: Run list on the std library (assumes it creates kani_list.txt)
70+
- name: Run Kani List
71+
uses: actions/github-script@v6
72+
with:
73+
script: |
74+
head/scripts/run-kani.sh --run list --path ${{github.workspace}}/head;
75+
const fs = require('fs');
76+
const kaniOutput = fs.readFileSync('${{github.workspace}}/head/kani_list.txt', 'utf8');
77+
kaniOutput >> "$GITHUB_STEP_SUMMARY";

.github/workflows/list.yml

-47
This file was deleted.

0 commit comments

Comments
 (0)