Skip to content

Commit 8c7c3f6

Browse files
committed
s
1 parent bc717ba commit 8c7c3f6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/CI-windows.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,14 @@ jobs:
107107
# TODO: how to share the following steps
108108
- name: Test
109109
run: |
110-
docker run ${{ matrix.image }} .\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel!
110+
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} C:\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel!
111111
112112
# TODO: does not actually fail on errors
113113
- name: Selfcheck
114114
run: |
115-
docker run ${{ matrix.image }} .\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!
115+
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} C:\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel!
116116
117117
- name: integration test
118118
run: |
119-
set SIMPLECPP_EXE_PATH=.\${{ matrix.config }}\simplecpp.exe
120-
docker run ${{ matrix.image }} python -m pytest integration_test.py -vv || exit /b !errorlevel!
119+
docker run -v %%GITHUB_WORKSPACE%%\${{ matrix.config }}:C:\${{ matrix.config }} ${{ matrix.image }} -e SIMPLECPP_EXE_PATH=C:\${{ matrix.config }}\simplecpp.exe python -m pytest integration_test.py -vv || exit /b !errorlevel!
121120

0 commit comments

Comments
 (0)