mirror of https://github.com/OWASP/Nettacker.git
Update Python versions
This commit is contained in:
parent
7b1fe262ce
commit
4a3dd98536
|
|
@ -28,7 +28,8 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Run pre-commit
|
||||
uses: pre-commit/action@v3.0.1
|
||||
|
||||
|
|
@ -64,7 +65,19 @@ jobs:
|
|||
name: Run tests
|
||||
needs:
|
||||
- pre-commit
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
python-version:
|
||||
- '3.9'
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
- '3.12'
|
||||
- '3.13'
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -72,7 +85,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -95,7 +108,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: '3.13'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
@ -114,13 +127,19 @@ jobs:
|
|||
|
||||
test-build-package:
|
||||
name: Test build on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs: build-package
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
python-version:
|
||||
- '3.9'
|
||||
- '3.10'
|
||||
- '3.11'
|
||||
- '3.12'
|
||||
- '3.13'
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -128,7 +147,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Get package artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ release_name = "QUIN"
|
|||
nettacker = "nettacker.main:run"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9, <3.13"
|
||||
python = "^3.9, <=3.13"
|
||||
aiohttp = "^3.9.5"
|
||||
argparse = "^1.4.0"
|
||||
asyncio = "^3.4.3"
|
||||
|
|
|
|||
Loading…
Reference in New Issue