setup python 3.10 before

This commit is contained in:
Remi Cadene 2024-10-13 16:46:55 +02:00
parent 71245e3746
commit 876fcc4a27
1 changed files with 5 additions and 9 deletions

View File

@ -79,24 +79,20 @@ jobs:
- name: Install apt dependencies
run: sudo apt-get update && sudo apt-get install -y ffmpeg
- name: Install poetry
run: |
pipx install poetry && poetry config virtualenvs.in-project true
echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install poetry
run: |
pipx install poetry && poetry config virtualenvs.in-project true
echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
- name: Install poetry dependencies
run: |
poetry install --extras "test"
- name: Display python
run: |
python --version
- name: Test with pytest
run: |
pytest 'tests/test_control_robot.py::test_record_and_replay_and_policy[koch-True]' -v --cov=./lerobot --durations=0 \