Skip to content

Commit

Permalink
chore: fix test exclusion (#5990)
Browse files Browse the repository at this point in the history
You cannot pass `-E` to `ctest` multiple times
  • Loading branch information
Kha authored Nov 7, 2024
1 parent 70435df commit 5f7a40a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ jobs:
if [[ '${{ matrix.name }}' == 'Linux Debug' ]]; then
ulimit -s unlimited
fi
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"
time ctest --preset ${{ matrix.CMAKE_PRESET || 'release' }} --test-dir build/stage1 -j$NPROC --output-junit test-results.xml ${{ matrix.CTEST_OPTIONS }}
if: (matrix.wasm || !matrix.cross) && needs.configure.outputs.check-level >= 1
- name: Test Summary
uses: test-summary/action@v2
Expand Down
2 changes: 2 additions & 0 deletions tests/lean/run/task_test_io.lean
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#exit -- TODO

#eval id (α := IO _) do
let t1 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "hi";
let t2 ← IO.asTask $ Nat.forM 10 fun _ => IO.println "ho";
Expand Down

0 comments on commit 5f7a40a

Please sign in to comment.