ci: do not test Python 2.7 with Windows

The Python 2.7 tests fail in Windows with vivisect because the Windows
filesystem encoding is not UTF-8. This shouldn't be a problem when using
capa as the given filename most likely uses the same encoding, but we
force UTF-8 in our tests. As we are planing to remove Python 2 support
is not wortwhile to invest time in making this test working. Instead,
test Python 2.7 only in Ubuntu.
This commit is contained in:
Ana Maria Martinez Gomez
2021-04-06 21:34:03 +02:00
parent efe50d3313
commit d412e66cea

View File

@@ -49,13 +49,11 @@ jobs:
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
# across all operating systems
# TODO replace 2.7 with 3.6 once we're Python 3 only
python-version: [2.7, 3.9]
python-version: [3.6, 3.9]
include:
# on Ubuntu run these as well
- os: ubuntu-20.04
# TODO remove 3.6 here once we're Python 3 only
python-version: 3.6
python-version: 2.7
- os: ubuntu-20.04
python-version: 3.7
- os: ubuntu-20.04