Skip to content

Merge pull request #12 from Macktireh/develop #19

Merge pull request #12 from Macktireh/develop

Merge pull request #12 from Macktireh/develop #19

Workflow file for this run

name: CI
on:
push:
branches: ["develop", "main"]
pull_request:
branches: ["develop", "main"]
jobs:
code-quality:
name: Code Quality
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm install -dG lint
- name: Run ruff
run: pdm run ruff check --diff
testing:
name: Testing
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pdm install -dG test
- name: Run tests
run: pdm run pytest -v