File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 3232 run : uvx poetry install --with dev
3333
3434 - name : Unit tests
35- run : uvx poetry run pytest tests/ --cov --cov-report=xml --benchmark-skip
35+ run : uvx poetry run pytest tests/ --cov --cov-report=xml --benchmark-skip -m "not ci_skip"
3636
3737 - name : Upload coverage reports to Codecov
3838 uses : codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -177,11 +177,8 @@ def test_code_to_optimize_bubble_sort_codeflash_trace_sorter():
177177 output_file .unlink (missing_ok = True )
178178 shutil .rmtree (replay_tests_dir )
179179
180- # Skip the test if the machine has only 1 thread/CPU
181- @pytest .mark .skipif (
182- multiprocessing .cpu_count () <= 1 ,
183- reason = "This test requires more than 1 CPU thread"
184- )
180+ # Skip the test in CI as the machine may not be multithreaded
181+ @pytest .mark .ci_skip
185182def test_trace_multithreaded_benchmark () -> None :
186183 project_root = Path (__file__ ).parent .parent / "code_to_optimize"
187184 benchmarks_root = project_root / "tests" / "pytest" / "benchmarks_multithread"
You can’t perform that action at this time.
0 commit comments