-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
155 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install -y pandoc | ||
- name: Run poetry image | ||
uses: abatilo/[email protected].0 | ||
uses: abatilo/[email protected].1 | ||
with: | ||
poetry-version: ${{ vars.POETRY_VERSION }} | ||
- name: Install dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run poetry image | ||
uses: abatilo/[email protected].0 | ||
uses: abatilo/[email protected].1 | ||
with: | ||
poetry-version: ${{ vars.POETRY_VERSION }} | ||
- name: Publish to PyPI and build before | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run poetry image | ||
uses: abatilo/[email protected].0 | ||
uses: abatilo/[email protected].1 | ||
with: | ||
poetry-version: ${{ vars.POETRY_VERSION }} | ||
- name: Install dependencies | ||
|
@@ -58,26 +58,21 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Run poetry image | ||
uses: abatilo/[email protected].0 | ||
uses: abatilo/[email protected].1 | ||
with: | ||
poetry-version: ${{ vars.POETRY_VERSION }} | ||
- name: Install dependencies | ||
run: poetry install --with dev | ||
- name: Run black | ||
run: poetry run black . --check | ||
- name: Run isort | ||
run: poetry run isort . --check-only | ||
- name: Run flake8 | ||
run: poetry run flake8 src --output-file=flake8_report.txt | ||
- name: Run pylint | ||
run: poetry run pylint src --recursive=y | ||
- name: Ruff format check | ||
run: poetry run ruff format --check src | ||
- name: Ruff lint check | ||
run: poetry run ruff check src | ||
- name: Run bandit | ||
run: poetry run bandit -r src | ||
- name: Run Safety CLI to check for vulnerabilities | ||
uses: pyupio/safety-action@v1 | ||
uses: pyupio/safety-action@v1.0.1 | ||
with: | ||
api-key: ${{ secrets.SAFETY_API_KEY }} | ||
continue-on-error: true # Do not fail this action if vulnerabilities are found | ||
args: "--short-report --policy-file=.safety-policy.yml" | ||
- name: Run mypy | ||
run: poetry run mypy src | ||
|
@@ -93,7 +88,7 @@ jobs: | |
with: | ||
python-version: ${{ vars.PYTHON_VERSION}} | ||
- name: Run poetry image | ||
uses: abatilo/[email protected].0 | ||
uses: abatilo/[email protected].1 | ||
with: | ||
poetry-version: ${{ vars.POETRY_VERSION }} | ||
- name: Install dependencies | ||
|
@@ -114,7 +109,7 @@ jobs: | |
run: | | ||
poetry run pytest --cov=src/pystatis --cov-report=xml --vcr-record=none tests | ||
- name: Upload coverage reports to Codecov with GitHub Action | ||
uses: codecov/codecov-action@v4.5.0 | ||
uses: codecov/codecov-action@v5.0.7 | ||
with: | ||
verbose: true | ||
env: | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters