| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,31 +26,31 @@ jobs: | |||
| 26 | 26 | packages: python39 python39-pip git | |
| 27 | 27 | - name: Tell git to trust this repo | |
| 28 | 28 | shell: bash.exe -eo pipefail -o igncr "{0}" | |
| 29 | - run: git config --global --add safe.directory $(pwd) | ||
| 29 | + run: /usr/bin/git config --global --add safe.directory $(pwd) | ||
| 30 | 30 | - name: Install dependencies and prepare tests | |
| 31 | 31 | shell: bash.exe -eo pipefail -o igncr "{0}" | |
| 32 | 32 | run: | | |
| 33 | 33 | set -x | |
| 34 | - python -m pip install --upgrade pip setuptools wheel | ||
| 35 | - python --version; git --version | ||
| 36 | - git submodule update --init --recursive | ||
| 37 | - git fetch --tags | ||
| 38 | - pip install -r requirements.txt | ||
| 39 | - pip install -r test-requirements.txt | ||
| 34 | + /usr/bin/python -m pip install --upgrade pip setuptools wheel | ||
| 35 | + /usr/bin/python --version; /usr/bin/git --version | ||
| 36 | + /usr/bin/git submodule update --init --recursive | ||
| 37 | + /usr/bin/git fetch --tags | ||
| 38 | + /usr/bin/python -m pip install -r requirements.txt | ||
| 39 | + /usr/bin/python -m pip install -r test-requirements.txt | ||
| 40 | 40 | TRAVIS=yes ./init-tests-after-clone.sh | |
| 41 | - git config --global user.email "travis@ci.com" | ||
| 42 | - git config --global user.name "Travis Runner" | ||
| 41 | + /usr/bin/git config --global user.email "travis@ci.com" | ||
| 42 | + /usr/bin/git config --global user.name "Travis Runner" | ||
| 43 | 43 | # If we rewrite the user's config by accident, we will mess it up | |
| 44 | 44 | # and cause subsequent tests to fail | |
| 45 | 45 | cat test/fixtures/.gitconfig >> ~/.gitconfig | |
| 46 | 46 | - name: Lint with flake8 | |
| 47 | 47 | shell: bash.exe -eo pipefail -o igncr "{0}" | |
| 48 | 48 | run: | | |
| 49 | 49 | set -x | |
| 50 | - flake8 | ||
| 50 | + /usr/bin/python flake8 | ||
| 51 | 51 | - name: Test with pytest | |
| 52 | 52 | shell: bash.exe -eo pipefail -o igncr "{0}" | |
| 53 | 53 | run: | | |
| 54 | 54 | set -x | |
| 55 | - pytest | ||
| 55 | + /usr/bin/python -m pytest | ||
| 56 | 56 | continue-on-error: false | |
| Back | FazBrowse Home | New Git URL |
0 commit comments