From b07540e60e20ff6c8a939773da296fc235153ef0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 22 Jul 2024 20:46:22 +0300 Subject: [PATCH] CI(GHActions): Set `bash` as the default shell --- .github/workflows/run-tests.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 34aa65b..0b10979 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -2,6 +2,10 @@ name: Run tests on: [push, pull_request] +defaults: + run: + shell: bash -el {0} + jobs: run-tests: env: @@ -47,7 +51,6 @@ jobs: python -m pip install --upgrade pip setuptools wheel pip --version pip install --upgrade virtualenv "tox >= 2.0, < 4" - shell: bash -el {0} - name: Set TOXENV run: | python -c " @@ -66,11 +69,9 @@ jobs: f.write('LD_LIBRARY_PATH=' + ld_library_path + '\n') f.write('TOXENV=' + toxenv + '\n') " - shell: bash -el {0} - name: Run tox targets for ${{ matrix.python-version }} run: | python -c "import os; print(os.environ['TOXENV'])" tox --version tox - shell: bash -el {0} -- 2.39.5