summaryrefslogtreecommitdiffstats
path: root/.github/workflows/code-testing.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/code-testing.yml')
-rw-r--r--.github/workflows/code-testing.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/code-testing.yml b/.github/workflows/code-testing.yml
index 4d4c0a6..5c06d45 100644
--- a/.github/workflows/code-testing.yml
+++ b/.github/workflows/code-testing.yml
@@ -23,6 +23,8 @@ jobs:
- 'anta/**'
- 'tests/*'
- 'tests/**'
+ # detect dependency changes
+ - 'pyproject.toml'
core:
- 'anta/*'
- 'anta/reporter/*'
@@ -44,7 +46,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
- python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
needs: file-changes
steps:
- uses: actions/checkout@v4
@@ -64,7 +66,7 @@ jobs:
if: needs.file-changes.outputs.cli == 'true' && needs.file-changes.outputs.docs == 'false'
steps:
- name: Documentation is missing
- uses: GrantBirki/comment@v2.0.9
+ uses: GrantBirki/comment@v2.0.10
with:
body: |
Please consider that documentation is missing under `docs/` folder.
@@ -82,7 +84,7 @@ jobs:
config_file: .yamllint.yml
file_or_dir: .
lint-python:
- name: Run isort, black, flake8 and pylint
+ name: Check the code style
runs-on: ubuntu-20.04
needs: file-changes
if: needs.file-changes.outputs.code == 'true'
@@ -97,7 +99,7 @@ jobs:
- name: "Run tox linting environment"
run: tox -e lint
type-python:
- name: Run mypy
+ name: Check typing
runs-on: ubuntu-20.04
needs: file-changes
if: needs.file-changes.outputs.code == 'true'
@@ -117,7 +119,7 @@ jobs:
needs: [lint-python, type-python]
strategy:
matrix:
- python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
+ python: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Python