Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5637efc

Browse filesBrowse files
committed
tests(ci): Fix python version with poetry caching and actions/setup-python@v3
poetry install will pick up the python binary at the time it was installed (before actions/python ran) so it looks like poetry env needs to be set manually. https://github.com/actions/setup-python/releases/tag/v3.1.0 https://github.com/actions/setup-python/tree/v3.1.0 actions/setup-python#281
1 parent f2798b8 commit 5637efc
Copy full SHA for 5637efc

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed

‎.github/workflows/tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ jobs:
2424
cache: 'poetry'
2525

2626
- name: Install dependencies
27-
run: poetry install -E "docs test coverage lint format"
27+
run: |
28+
# This is required to do as of @actions/checkout@v3 to prevent default python from being used
29+
poetry env use ${{ matrix.python-version }}
30+
poetry install -E "docs test coverage lint format"
2831
2932
- name: Lint with flake8
3033
run: poetry run flake8

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.