This commit is contained in:
29
.gitea/workflows/ci.yml
Normal file
29
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install Core with Dev Dependencies
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -e .[dev]
|
||||
|
||||
- name: Run Quality Checks (Linter)
|
||||
run: ruff check src/
|
||||
|
||||
- name: Execute Test Suite
|
||||
run: pytest tests/ -v
|
||||
Reference in New Issue
Block a user