mirror of
https://github.com/mandiant/capa.git
synced 2025-12-25 20:34:22 -08:00
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:
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user