Skip to content

Commit

Permalink
Use new utilities setup in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejzj committed Dec 27, 2024
1 parent 1503a4e commit 21e3464
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
branches:
- "master"

- "develop"

jobs:
build:
Expand All @@ -19,19 +19,23 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Check requirements lock
run: |
make requirements
git diff --exit-code requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
- name: Format check
run: |
make format-check
- name: Lint check
run: |
# Stop the build if there are Python syntax errors or undefined names
flake8 it_jobs_meta --count --select=E9,F63,F7,F82 --show-source --statistics
# Exit-zero treats all errors as warnings
flake8 it_jobs_meta --count --exit-zero --statistics
- name: Typecheck with mypy
make lint
- name: Type check
run: |
mypy it_jobs_meta
- name: Test with pytest
make type-check
- name: Test
run: |
pytest it_jobs_meta
make test

0 comments on commit 21e3464

Please sign in to comment.