diff options
| author | Christoph Reiter <reiter.christoph@gmail.com> | 2022-01-17 18:38:24 +0100 |
|---|---|---|
| committer | Christoph Reiter <reiter.christoph@gmail.com> | 2022-01-17 19:28:00 +0100 |
| commit | 78aa84b23fe2ea8a2c041d99f80ec0a86d0ce588 (patch) | |
| tree | 7de845a2cf8460fa1c256c5b69fc50392e08d55e /.github/workflows | |
| parent | ea993facb641b371199d197b057a3414316f9d25 (diff) | |
| download | python-setuptools-git-78aa84b23fe2ea8a2c041d99f80ec0a86d0ce588.tar.gz | |
CI/cygwin: use cygwin/cygwin-install-action instead of choco
Use the official GH action for installing cygwin instead of
going through choco.
See #3016
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ae4a264..3a15246e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,13 +53,24 @@ jobs: SETUPTOOLS_USE_DISTUTILS: ${{ matrix.distutils }} steps: - uses: actions/checkout@v2 - - name: Install Cygwin with Python and tox + - name: Install Cygwin with Python + uses: cygwin/cygwin-install-action@v1 + with: + platform: x86_64 + packages: >- + git, + gcc-core, + python38, + python38-devel, + python38-pip + - name: Install tox + shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} run: | - choco install git gcc-core python38-devel python38-pip --source cygwin - C:\\tools\\cygwin\\bin\\bash -l -x -c 'python3.8 -m pip install tox' + python3.8 -m pip install tox - name: Run tests + shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} run: | - C:\\tools\\cygwin\\bin\\bash -l -x -c 'cd $(cygpath -u "$GITHUB_WORKSPACE") && tox -- --cov-report xml' + tox -- --cov-report xml integration-test: strategy: |
