From 2e57656aeb3ecfbdcd280524120f6bcbfb8a7ba8 Mon Sep 17 00:00:00 2001 From: Marcel Stimberg Date: Fri, 8 Sep 2023 10:24:11 +0200 Subject: [PATCH] Don't use bash, but fix path syntax for windows --- .github/workflows/test_latest.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_latest.yml b/.github/workflows/test_latest.yml index 4b43c178a..9e4dd639a 100644 --- a/.github/workflows/test_latest.yml +++ b/.github/workflows/test_latest.yml @@ -35,10 +35,6 @@ jobs: float_dtype_32: [false, true] python-version: ["${{ needs.get_python_versions.outputs.max-python }}"] - defaults: - run: - shell: bash - steps: - name: Checkout Repository uses: actions/checkout@v3 @@ -69,8 +65,8 @@ jobs: run: ${{ steps.python.outputs.python-path }} -m pip install --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple . - name: Run Tests run: | - cd $GITHUB_WORKSPACE/.. # move out of the workspace to avoid direct import - ${{ steps.python.outputs.python-path }} -Wd $GITHUB_WORKSPACE/dev/continuous-integration/run_test_suite.py + cd ${{ github.workspace }} /.. # move out of the workspace to avoid direct import + ${{ steps.python.outputs.python-path }} -Wd ${{ github.workspace }}/dev/continuous-integration/run_test_suite.py env: DEPRECATION_ERROR: true AGENT_OS: ${{runner.os}}