Skip to content

Commit 5f7a40a

Browse files
authored
chore: fix test exclusion (#5990)
You cannot pass `-E` to `ctest` multiple times
1 parent 70435df commit 5f7a40a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ jobs:
419419
if [[ '${{ matrix.name }}' == 'Linux Debug' ]]; then
420420
ulimit -s unlimited
421421
fi
422-
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC --output-junit test-results.xml ${{ matrix.CTEST_OPTIONS }} -E "leanruntest_task_test_io"
422+
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC --output-junit test-results.xml ${{ matrix.CTEST_OPTIONS }}
423423
if: (matrix.wasm || !matrix.cross) && needs.configure.outputs.check-level >= 1
424424
- name: Test Summary
425425
uses: test-summary/action@v2

tests/lean/run/task_test_io.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#exit -- TODO
2+
13
#eval id (α := IO _) do
24
let t1 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "hi";
35
let t2 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "ho";

0 commit comments

Comments
 (0)