From: Oleg Broytman Date: Mon, 22 Jul 2024 17:46:22 +0000 (+0300) Subject: CI(GHActions): Set `bash` as the default shell X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b07540e60e20ff6c8a939773da296fc235153ef0;p=mimedecode.git CI(GHActions): Set `bash` as the default shell --- 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}