Skip to content

Commit

Permalink
CI: Debug MSVC Segfault in PyTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jul 22, 2024
1 parent 48654c0 commit 3d56419
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
build_win_msvc:
name: MSVC w/o MPI shared
runs-on: windows-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down Expand Up @@ -81,16 +80,17 @@ jobs:
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config RelWithDebInfo --parallel 4
if(!$?) { Exit $LASTEXITCODE }
- name: Test
run: |
ctest --test-dir build --build-config RelWithDebInfo --output-on-failure -E AMReX
if(!$?) { Exit $LASTEXITCODE }
- name: Install
run: |
cmake --build build --config RelWithDebInfo --target install
if(!$?) { Exit $LASTEXITCODE }
cmake --build build --config RelWithDebInfo --target pip_install
if(!$?) { Exit $LASTEXITCODE }
- name: Test
run: |
$env:PATH += ";D:\a\impactx\impactx\build\bin\RelWithDebInfo\"
python3 -m pytest tests/python/test_impactx.py
if(!$?) { Exit $LASTEXITCODE }
- name: validate created openPMD files
run: Get-ChildItem -Path build -Recurse -Filter *.h5 | %{openPMD_check_h5 -i $_}

Expand Down

0 comments on commit 3d56419

Please sign in to comment.