Improve CI workflow: use direct Python setup instead of actions/setup-python

This commit is contained in:
2026-03-22 12:27:34 +00:00
parent cd0d44918d
commit 432cd28e8b

View File

@@ -9,10 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install
run: pip install -e . && pip install pytest pytest-asyncio
- name: Set up Python
run: |
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
run: pytest tests/ -v
run: pytest tests/ -v