Improve CI workflow: use direct Python setup instead of actions/setup-python
This commit is contained in:
@@ -9,10 +9,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- name: Set up Python
|
||||||
with:
|
run: |
|
||||||
python-version: '3.11'
|
sudo apt-get update
|
||||||
- name: Install
|
sudo apt-get install -y python3 python3-pip python3-venv
|
||||||
run: pip install -e . && pip install pytest pytest-asyncio
|
python3 --version
|
||||||
|
pip3 --version
|
||||||
|
- name: Install package
|
||||||
|
run: pip3 install -e . pytest pytest-asyncio
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests/ -v
|
run: pytest tests/ -v
|
||||||
Reference in New Issue
Block a user