File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 11name : Coverage
2+
23on :
34 push :
45 branches :
56 - main
67 workflow_dispatch :
78
9+ env :
10+ PYTHON_VERSION : 3.11
11+
812jobs :
913 generate-coverage :
1014 runs-on : ubuntu-latest
@@ -14,19 +18,16 @@ jobs:
1418 with :
1519 fetch-depth : 1
1620
17- - name : Set up Python 3.11
18- 19- with :
20- python-version : " 3.11"
21-
2221 - name : Install Poetry
23- 24- with :
25- poetry-version : 1.6.1
26-
27- - name : Set Poetry config
2822 run : |
29- poetry config virtualenvs.path ~/.virtualenvs3.11
23+ pipx install poetry
24+ poetry config virtualenvs.path ~/.virtualenvs${{ env.PYTHON_VERSION }}
25+
26+ - name : Set up Python ${{ env.PYTHON_VERSION }}
27+ uses : actions/setup-python@v3
28+ with :
29+ python-version : ${{ env.PYTHON_VERSION }}
30+ cache : " poetry"
3031
3132 - name : Install dependencies
3233 run : poetry install -E minify
You can’t perform that action at this time.
0 commit comments