Skip to content

Commit c0aae75

Browse files
authored
Merge pull request #107 from sanders41/ci
Changing CI to the new poetry install script and adding 3.10 to tests
2 parents f31f38a + 7483ca0 commit c0aae75

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/testing.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
python-version: 3.9
1919
- name: Install Poetry and add to path
2020
run: |
21-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
22-
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
21+
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
22+
echo "${HOME}/.local/bin" >> $GITHUB_PATH
2323
- name: Install Dependencies
2424
run: |
2525
poetry install
@@ -43,7 +43,7 @@ jobs:
4343
strategy:
4444
fail-fast: false
4545
matrix:
46-
python-version: [3.7, 3.8, 3.9]
46+
python-version: [3.7, 3.8, 3.9, "3.10.0-beta - 3.10.0"]
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/[email protected]
@@ -53,8 +53,12 @@ jobs:
5353
python-version: ${{ matrix.python-version }}
5454
- name: Install Poetry and add to path
5555
run: |
56-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
57-
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
56+
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
57+
echo "${HOME}/.local/bin" >> $GITHUB_PATH
58+
- name: Poetry configuration
59+
if: matrix.python-version == '3.10.0-beta - 3.10.0' # Poetry installs are currently failing with the experimental installer on 3.10
60+
run: |
61+
poetry config experimental.new-installer false
5862
- name: Install Dependencies
5963
run: |
6064
poetry install

0 commit comments

Comments
 (0)