Skip to content

Commit 1f907a2

Browse files
stinosdpgeorge
authored andcommitted
tests/run-tests.py: Make Windows test skipping more granular.
Signed-off-by: stijn <[email protected]>
1 parent a0c7bf1 commit 1f907a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ports_windows.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
configuration: Debug
4343
- visualstudio: '2019'
4444
configuration: Debug
45+
env:
46+
CI_BUILD_CONFIGURATION: ${{ matrix.configuration }}
4547
runs-on: ${{ matrix.runner }}
4648
steps:
4749
- name: Install Visual Studio 2017

tests/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
580580
if os.getenv("GITHUB_ACTIONS") == "true":
581581
skip_tests.add("thread/stress_schedule.py") # has reliability issues
582582

583-
if os.getenv("RUNNER_OS") == "Windows":
583+
if os.getenv("RUNNER_OS") == "Windows" and os.getenv("CI_BUILD_CONFIGURATION") == "Debug":
584584
# fails with stack overflow on Debug builds
585585
skip_tests.add("misc/sys_settrace_features.py")
586586

0 commit comments

Comments
 (0)