File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,10 @@ jobs:
24
24
run : echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
25
25
- name : Install poetry
26
26
run : |
27
- curl -fsS -o get-poetry.py https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py
28
- python get-poetry.py -y
29
- echo "::set-env name=PATH::$HOME/.poetry/bin:$PATH"
27
+ python -m pip install --upgrade pip
28
+ python -m pip install poetry
30
29
- name : Configure poetry
31
- run : poetry config virtualenvs.in-project true
30
+ run : python -m poetry config virtualenvs.in-project true
32
31
- name : Set up cache
33
32
uses : actions/cache@v1
34
33
id : cache
@@ -37,10 +36,10 @@ jobs:
37
36
key : venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
38
37
- name : Ensure cache is healthy
39
38
if : steps.cache.outputs.cache-hit == 'true'
40
- run : poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
39
+ run : python -m poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
41
40
- name : Install Dependencies
42
- run : poetry install
41
+ run : python -m poetry install
43
42
- name : Test
44
- run : poetry run bash scripts/test.sh
43
+ run : python -m poetry run bash scripts/test.sh
45
44
- name : Upload coverage
46
45
uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments