File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments