23 lines
455 B
YAML
23 lines
455 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Show directory
|
|
run: |
|
|
echo "PWD: $(pwd)"
|
|
ls -la
|
|
- name: Install Python and pip
|
|
run: |
|
|
python3 --version
|
|
pip3 --version
|
|
- name: Install dependencies
|
|
run: |
|
|
pip3 install -e . pytest pytest-asyncio
|
|
- name: Run tests
|
|
run: pytest tests/ -v --tb=short |