This commit is contained in:
23
.github/workflows/ci.yml
vendored
Normal file
23
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push: {}
|
||||
pull_request: {}
|
||||
|
||||
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 runtime dependencies
|
||||
run: python -m pip install --upgrade pip && pip install -r requirements.txt
|
||||
- name: Install dev dependencies
|
||||
run: pip install -r requirements-dev.txt
|
||||
- name: Run lints
|
||||
run: ruff check server skill tests
|
||||
- name: Run tests
|
||||
run: pytest
|
||||
Reference in New Issue
Block a user