Skip to content

Commit

Permalink
Adjust the workflows for the project
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks committed Mar 21, 2024
1 parent a9a9cca commit d93e91f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- name: Install and check with black, pylint and pontos.version
uses: greenbone/actions/lint-python@v3
with:
packages: <FIXME>
packages: greenbone
linter: ruff
python-version: ${{ matrix.python-version }}

Expand All @@ -32,8 +30,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
Expand All @@ -51,8 +47,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
Expand All @@ -61,26 +55,3 @@ jobs:
uses: greenbone/actions/mypy-python@v3
with:
python-version: ${{ matrix.python-version }}

codecov:
name: Upload coverage to codecov.io
needs: test
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Install and calculate and upload coverage to codecov.io
uses: greenbone/actions/coverage-python@v3
with:
python-version: "3.10"

build-docs:
name: Build the documentation
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Install python, poetry and dependencies
uses: greenbone/actions/poetry@v3
with:
python-version: "3.10"
- name: Build docs
run: cd docs && poetry run make html
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
environment:
# requires to create a GitHub environment named pypi
name: pypi
url: https://pypi.org/project/example/ # FIXME
url: https://pypi.org/project/greenbone-scap-api/
steps:
- name: Build and publish to PyPI
uses: greenbone/actions/pypi-upload@v3
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
type: choice
description: What kind of release do you want to do?
options:
- calendar
- patch
- minor
- major
Expand Down

0 comments on commit d93e91f

Please sign in to comment.