Merging upstream version 1.3.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5b922100c9
commit
8a6a3342fc
337 changed files with 16571 additions and 4891 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
@ -27,31 +27,9 @@ jobs:
|
|||
- name: Publish distribution 📦 to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
release-coverage:
|
||||
name: Updated ANTA release coverage badge
|
||||
runs-on: ubuntu-20.04
|
||||
needs: [pypi]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install dependencies
|
||||
run: pip install genbadge[coverage] tox tox-gh-actions
|
||||
- name: "Run pytest via tox for ${{ matrix.python }}"
|
||||
run: tox
|
||||
- name: Generate coverage badge
|
||||
run: genbadge coverage -i .coverage.xml -o badge/latest-release-coverage.svg
|
||||
- name: Publish coverage badge to gh-pages branch
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
with:
|
||||
branch: coverage-badge
|
||||
folder: badge
|
||||
release-doc:
|
||||
name: "Publish documentation for release ${{github.ref_name}}"
|
||||
runs-on: ubuntu-latest
|
||||
needs: [release-coverage]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue