Skip to content

Re-enable Cygwin CI and get most tests passing #1455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: Specify full path to python executables.
  • Loading branch information
DWesl authored Jun 10, 2022
commit f96cea165425fd569e8a185237669a66f62c49f2
22 changes: 11 additions & 11 deletions .github/workflows/cygwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,31 +26,31 @@ 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
- name: Lint with flake8
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