Skip to content

Commit

Permalink
specify python version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
notarious2 committed Mar 10, 2024
1 parent a770a1b commit 2ebb1ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.11.3"
- name: Install dependencies
run: |
poetry env use "3.11"
poetry env use "3.11.3"
poetry export --only lint --output lint-requirements.txt
pip install -r lint-requirements.txt
- name: Run Ruff
Expand Down Expand Up @@ -49,13 +49,13 @@ jobs:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.11.3"

- uses: actions/setup-python@v4
with:
python-version: 3.11
python-version: 3.11.3
- run: |
poetry env use "3.11"
poetry env use "3.11.3"
poetry install
poetry run pytest -x -n auto --dist loadfile
env:
Expand Down

0 comments on commit 2ebb1ea

Please sign in to comment.