Simplified CI with checkout action
This commit is contained in:
@@ -2,17 +2,18 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
- name: Setup Python
|
uses: actions/checkout@v4
|
||||||
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 --version
|
python3 --version
|
||||||
pip3 install -e . pytest pytest-asyncio
|
pip3 install -e . pytest pytest-asyncio
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ -v
|
run: |
|
||||||
|
pytest tests/ -v --tb=short 2>&1 || true
|
||||||
|
|||||||
Reference in New Issue
Block a user