mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-18 20:37:57 +00:00
Fix testing on Windows with GH Actions
This commit is contained in:
parent
42808161bf
commit
e62ffb1b87
13
.github/workflows/testing.yml
vendored
13
.github/workflows/testing.yml
vendored
@ -20,8 +20,15 @@ jobs:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
exclude:
|
||||
- os: windows-latest # only test with Python 3.10 on Windows
|
||||
python-version: ["3.8", "3.9", "3.11", "3.12"]
|
||||
# only test with Python 3.10 on Windows
|
||||
- os: windows-latest
|
||||
python-version: "3.8"
|
||||
- os: windows-latest
|
||||
python-version: "3.9"
|
||||
- os: windows-latest
|
||||
python-version: "3.11"
|
||||
- os: windows-latest
|
||||
python-version: "3.12"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -32,7 +39,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
|
||||
python -m pip install -r dev-requirements.txt
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
|
Loading…
Reference in New Issue
Block a user