This commit is contained in:
@@ -1,20 +1,13 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on: push
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: python:3.11-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Debug
|
|
||||||
run: |
|
|
||||||
set -x
|
|
||||||
whoami
|
|
||||||
pwd
|
|
||||||
ls -la /app
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: pip3 install -e /app && pip3 install pytest pytest-asyncio
|
run: pip install -e . pytest pytest-asyncio
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest /app/tests/ -v
|
run: pytest tests/ -v
|
||||||
Reference in New Issue
Block a user