Adding upstream version 1.2.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
77504588ab
commit
6fd6eb426a
154 changed files with 7346 additions and 5000 deletions
23
.github/workflows/code-testing.yml
vendored
23
.github/workflows/code-testing.yml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
needs: file-changes
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -108,7 +108,7 @@ jobs:
|
|||
needs: [lint-python, type-python]
|
||||
strategy:
|
||||
matrix:
|
||||
python: ["3.9", "3.10", "3.11", "3.12"]
|
||||
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
@ -119,6 +119,23 @@ jobs:
|
|||
run: pip install tox tox-gh-actions
|
||||
- name: "Run pytest via tox for ${{ matrix.python }}"
|
||||
run: tox
|
||||
test-python-windows:
|
||||
name: Pytest on 3.12 for windows
|
||||
runs-on: windows-2022
|
||||
needs: [lint-python, type-python]
|
||||
env:
|
||||
# Required to prevent asyncssh to fail.
|
||||
USERNAME: WindowsUser
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.12
|
||||
- name: Install dependencies
|
||||
run: pip install tox tox-gh-actions
|
||||
- name: Run pytest via tox for 3.12 on Windows
|
||||
run: tox
|
||||
test-documentation:
|
||||
name: Build offline documentation for testing
|
||||
runs-on: ubuntu-20.04
|
||||
|
@ -149,4 +166,4 @@ jobs:
|
|||
uses: CodSpeedHQ/action@v3
|
||||
with:
|
||||
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||
run: pytest --codspeed --no-cov --log-cli-level INFO tests/benchmark
|
||||
run: pytest --codspeed --no-cov --log-cli-level INFO tests/benchmark
|
||||
|
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -7,8 +7,13 @@ on:
|
|||
|
||||
jobs:
|
||||
pypi:
|
||||
name: Publish version to Pypi servers
|
||||
name: Publish Python 🐍 distribution 📦 to PyPI
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: production
|
||||
url: https://pypi.org/p/anta
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
@ -19,11 +24,8 @@ jobs:
|
|||
- name: Build package
|
||||
run: |
|
||||
python -m build
|
||||
- name: Publish package to Pypi
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
user: __token__
|
||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||
|
||||
release-coverage:
|
||||
name: Updated ANTA release coverage badge
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue