24 lines
456 B
YAML
24 lines
456 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
run: |
|
|
echo "Checking out code..."
|
|
ls -la
|
|
- name: Setup Python
|
|
run: |
|
|
python3 --version
|
|
pip3 --version
|
|
- name: Install dependencies
|
|
run: |
|
|
pip3 install -e . pytest pytest-asyncio
|
|
- name: Run tests
|
|
run: pytest tests/ -v --tb=short
|