Fix URLs that were redirecting to another license #172
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test-cygwin | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
env: | |
CHERE_INVOKING: 1 | |
SHELLOPTS: igncr | |
TMP: "/tmp" | |
TEMP: "/tmp" | |
defaults: | |
run: | |
shell: bash.exe --noprofile --norc -exo pipefail -o igncr "{0}" | |
steps: | |
- name: Force LF line endings | |
run: git config --global core.autocrlf input | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: cygwin/cygwin-install-action@v4 | |
with: | |
packages: python39 python39-pip python39-virtualenv git | |
- name: Show python and git versions | |
run: | | |
/usr/bin/python --version | |
/usr/bin/git version | |
- name: Tell git to trust this repo | |
run: | | |
/usr/bin/git config --global --add safe.directory "$(pwd)" | |
- name: Prepare this repo for tests | |
run: | | |
TRAVIS=yes ./init-tests-after-clone.sh | |
- name: Further prepare git configuration for tests | |
run: | | |
/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: Update PyPA packages | |
run: | | |
/usr/bin/python -m pip install --upgrade pip setuptools wheel | |
- name: Install project and test dependencies | |
run: | | |
/usr/bin/python -m pip install ".[test]" | |
- name: Test with pytest | |
run: | | |
set +x | |
/usr/bin/python -m pytest |