Skip to content

Commit

Permalink
Merge pull request #601 from joselsegura/reorg_workflows
Browse files Browse the repository at this point in the history
Reorg and remove old Python version for workflow jobs
  • Loading branch information
joselsegura authored Jul 5, 2024
2 parents 9f98a63 + 7d067d9 commit 0cc5f80
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/pr_approval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,33 @@ on:
- pull_request

jobs:
pytest:
python_tools:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade setuptools
- run: pip install --upgrade wheel
- run: pip install pycodestyle
- run: pip install pydocstyle
- run: pip install pytest-cov
- run: pip install --upgrade importlib-metadata
- run: pip install behave
- run: pip install semver
- run: pip install jsonschema
- run: pip install --upgrade setuptools wheel importlib-metadata
- run: pip install pycodestyle pydocstyle pytest pytest-cov behave semver jsonschema
- name: Style checks
run: make style
- name: Docstrings checks
run: make doc-check
run: make code-style docs-style
- name: Unit tests
run: make unit_tests
- name: Unit tests coverage
run: make coverage

docs_check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Scenarios list check
run: make doc-check
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
4 changes: 2 additions & 2 deletions .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
shellcheck:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Shell check
run: ./shellcheck.sh
run: make shellcheck

0 comments on commit 0cc5f80

Please sign in to comment.