summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2021-12-18 09:14:03 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2021-12-18 12:01:51 +0100
commit2a95a48dcee29f2396bee63de34e2ad0ef1247a3 (patch)
tree385e6f27d80bb3370a74dffe43aa4d545067081b /.github
parent4d4d32a78f0fcfbeff49e271377f735402ba0d74 (diff)
downloadpython-setuptools-git-2a95a48dcee29f2396bee63de34e2ad0ef1247a3.tar.gz
CI: add a CI job for testing under Cygwin
There are some tests skipped because of missing docutils, but cygwin currently is missing a docutils package for Python 3.9
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 947b8551..bd0e1992 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -21,6 +21,30 @@ jobs:
- name: Run tests
run: tox
+ test_cygwin:
+ strategy:
+ matrix:
+ python: [39]
+ platform: [windows-latest]
+ runs-on: ${{ matrix.platform }}
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install Cygwin
+ uses: cygwin/cygwin-install-action@v1
+ with:
+ platform: x86_64
+ packages: >-
+ python${{ matrix.python }},
+ python${{ matrix.python }}-devel,
+ python${{ matrix.python }}-pytest,
+ gcc-core,
+ gcc-g++,
+ ncompress
+ - 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: |
+ pytest -rs
+
ci_setuptools:
# Integration testing with setuptools
strategy: