Fix CI workflow: remove external checkout action, use auto-checkout, use python3 -m pytest
Some checks failed
CI / test (push) Failing after 11s

This commit is contained in:
2026-03-22 13:07:18 +00:00
parent c42385b5cf
commit 8a82839fe3

View File

@@ -2,22 +2,21 @@ name: CI
on: on:
push: push:
branches: [main] branches: [ main ]
pull_request: pull_request:
branches: [main] branches: [ main ]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
- name: Set up Python - name: Set up Python
run: | run: |
sudo apt-get update apt-get update
sudo apt-get install -y python3 python3-pip python3-venv apt-get install -y python3 python3-pip python3-venv
python3 --version python3 --version
pip3 --version pip3 --version
- name: Install package - name: Install package
run: pip3 install -e . pytest pytest-asyncio run: pip3 install -e . pytest pytest-asyncio
- name: Run tests - name: Run tests
run: pytest tests/ -v run: python3 -m pytest tests/ -v