This commit is contained in:
@@ -1,26 +1,7 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
on: [push]
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- run: echo hello
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.11'
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
pip install -e ".[dev]"
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
pytest tests/ -v --tb=short
|
|
||||||
- name: Run linter
|
|
||||||
run: |
|
|
||||||
pip install ruff
|
|
||||||
ruff check .
|
|
||||||
Reference in New Issue
Block a user