summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2022-08-31 09:01:25 -0500
committerArtem Bityutskiy <dedekind1@gmail.com>2022-09-03 20:09:32 +0300
commitaf63b80a71de781d44e69f85e1582a684c0f0230 (patch)
tree23048ac418431c0511e9843eae25b435dc0dd0ab
parent9c141f87ad0283a072cd62ca73559fc566e2a809 (diff)
ci: Fix poetry install
Fixes the installation of poetry to use the updated method Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 80a820a..ff83f72 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,9 +18,8 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
- source $HOME/.poetry/env
- poetry install
+ curl -sSL https://install.python-poetry.org | python3 -
+ poetry install -n
- name: Check code
run: poetry run black bmaptools/* tests/* --check
@@ -43,6 +42,5 @@ jobs:
# Installs compression deps
sudo apt-get install -y pbzip2 pigz lzop liblz4-tool
# Installs poetry
- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
- source $HOME/.poetry/env
- poetry install
+ curl -sSL https://install.python-poetry.org | python3 -
+ poetry install -n