From 134caa0635312115e84fe91c1ec3621278726c3a Mon Sep 17 00:00:00 2001 From: Tim Mensinger Date: Tue, 17 Sep 2024 19:24:55 +0200 Subject: [PATCH] Do not run CI commands in login shell (fix macos runner problem) --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b686f6f..f22553b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: environments: test-cpu activate-environment: true - name: Run pytest - shell: bash -l {0} + shell: bash {0} run: pixi run -e test-cpu tests - name: Upload coverage report if: runner.os == 'Linux' && matrix.python-version == '3.12' @@ -53,7 +53,7 @@ jobs: cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} environments: mypy - name: Run mypy - shell: bash -l {0} + shell: bash {0} run: pixi run mypy run-explanation-notebooks: name: Run explanation notebooks on Python 3.12 @@ -67,5 +67,5 @@ jobs: cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} environments: test-cpu - name: Run explanation notebooks - shell: bash -l {0} + shell: bash {0} run: pixi run -e test-cpu explanation-notebooks