fix: resolve CI test failures - API compatibility fixes
This commit is contained in:
@@ -1,14 +1,23 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
run: |
|
run: |
|
||||||
pip3 install --no-cache-dir -e /app 2>&1 | tail -30 || echo "Exit code: $?"
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y python3 python3-pip python3-venv
|
||||||
|
python3 --version
|
||||||
|
pip3 --version
|
||||||
|
- name: Install package
|
||||||
|
run: pip3 install -e . pytest pytest-asyncio
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: pytest tests/ -v
|
||||||
pytest /app/tests/ -v 2>&1 | tail -30 || echo "Exit code: $?"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user