17 lines
333 B
YAML
17 lines
333 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
run: |
|
|
echo "test" > test.txt
|
|
ls -la
|
|
- name: Run tests
|
|
run: |
|
|
pip3 install -e . pytest 2>&1 || echo "pip3 failed"
|
|
pytest tests/ -v 2>&1 || echo "pytest failed"
|