From 76cab19871dccc4651d98a04a9c515888872a004 Mon Sep 17 00:00:00 2001 From: Ben Maddison Date: Sat, 8 May 2021 12:08:46 +0200 Subject: [PATCH] give up on py27 on windows :-( --- .github/workflows/cicd.yml | 6 +++--- tox.ini | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index f77c0ba..5022dcb 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -20,6 +20,9 @@ jobs: - 3.7 - 3.8 - 3.9 + exclude: + - os: windows-latest + python-version: 2.7 runs-on: ${{ matrix.os }} steps: - name: checkout @@ -33,9 +36,6 @@ jobs: - name: install pysctp dependencies if: startsWith(matrix.os, 'ubuntu') run: sudo apt install libsctp-dev - - name: install c++ compiler - if: ${{ startsWith(matrix.os, 'windows') && matrix.python-version == 2.7 }} - run: choco install vcpython27 -f -y - name: run test suite run: tox env: diff --git a/tox.ini b/tox.ini index eb98cc3..6bfdbd3 100644 --- a/tox.ini +++ b/tox.ini @@ -8,10 +8,10 @@ platform = macos: darwin windows: win32 deps = - CryptoMobile @ git+https://github.com/P1sec/CryptoMobile.git@master#egg=CryptoMobile cryptography lxml linux: pysctp + !py27-windows: CryptoMobile @ git+https://github.com/P1sec/CryptoMobile.git@master#egg=CryptoMobile commands = python -m unittest --verbose test.test_pycrate [gh-actions]