Skip to content

Commit

Permalink
fix: CI won't fail on python version
Browse files Browse the repository at this point in the history
The CI python tests failed due to it requiring a
python version 3.11.6 to be present; the workflow
environment had a different version of 3.11 installed,
failing the tests.

Signed-off-by: Omer <[email protected]>
  • Loading branch information
Omeramsc committed Dec 10, 2023
1 parent 8831254 commit dee4c74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ jobs:
checks: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install pipenv
run: pip install pipenv==2023.7.23
- name: Create virtualenv
run: pipenv sync
- name: Install all missing stub packages
run: pipenv run mypy --install-types
- name: Run tests
run: |
pipenv run pytest tests
1 change: 0 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ isort = "*"

[requires]
python_version = "3.11"
python_full_version = "3.11.6"

0 comments on commit dee4c74

Please sign in to comment.