Skip to content

Commit

Permalink
Update CI workflow for new hotness
Browse files Browse the repository at this point in the history
  • Loading branch information
nkantar committed Aug 25, 2024
1 parent 36087bc commit d439263
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/automated_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,28 @@ jobs:
build:

runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install just
# run: pipx install git+https://github.com/casey/just.git
run: pipx install git+https://github.com/rachtsingh/just.git

- name: Install uv
run: pipx install uv

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black pydocstyle mypy flake8 pytest pytest-mock
- name: Format check with Black
run: black src/ tests/ --check
- name: Docstring style check with pydocstyle
run: pydocstyle src/
- name: Type check with mypy
run: mypy src/ --strict
- name: Lint with flake8
run: flake8 src/
- name: Test with pytest
run: pytest tests/
run: uv sync --system

- name: Run checks
run: uv run just checkall

0 comments on commit d439263

Please sign in to comment.