diff options
author | DWesl <22566757+DWesl@users.noreply.github.com> | 2022-06-10 19:13:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 19:13:56 -0400 |
commit | f96cea165425fd569e8a185237669a66f62c49f2 (patch) | |
tree | f65d5cb4af9d9216b8a37671338c5d040c65b657 | |
parent | d8ad56fdef864d8db73fb35f9547fa8a9dc00774 (diff) | |
download | gitpython-f96cea165425fd569e8a185237669a66f62c49f2.tar.gz |
CI: Specify full path to python executables.
-rw-r--r-- | .github/workflows/cygwin-test.yml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 1ec5391a..19b19edd 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -26,20 +26,20 @@ jobs: packages: python39 python39-pip git - name: Tell git to trust this repo shell: bash.exe -eo pipefail -o igncr "{0}" - run: git config --global --add safe.directory $(pwd) + run: /usr/bin/git config --global --add safe.directory $(pwd) - name: Install dependencies and prepare tests shell: bash.exe -eo pipefail -o igncr "{0}" run: | set -x - python -m pip install --upgrade pip setuptools wheel - python --version; git --version - git submodule update --init --recursive - git fetch --tags - pip install -r requirements.txt - pip install -r test-requirements.txt + /usr/bin/python -m pip install --upgrade pip setuptools wheel + /usr/bin/python --version; /usr/bin/git --version + /usr/bin/git submodule update --init --recursive + /usr/bin/git fetch --tags + /usr/bin/python -m pip install -r requirements.txt + /usr/bin/python -m pip install -r test-requirements.txt TRAVIS=yes ./init-tests-after-clone.sh - git config --global user.email "travis@ci.com" - git config --global user.name "Travis Runner" + /usr/bin/git config --global user.email "travis@ci.com" + /usr/bin/git config --global user.name "Travis Runner" # If we rewrite the user's config by accident, we will mess it up # and cause subsequent tests to fail cat test/fixtures/.gitconfig >> ~/.gitconfig @@ -47,10 +47,10 @@ jobs: shell: bash.exe -eo pipefail -o igncr "{0}" run: | set -x - flake8 + /usr/bin/python flake8 - name: Test with pytest shell: bash.exe -eo pipefail -o igncr "{0}" run: | set -x - pytest + /usr/bin/python -m pytest continue-on-error: false |