Update build to poetry alpha 2 for python 3.10 (#1320)

* udpate build to poetry alpha 2 for python 3.10

* update testing workflow to run when workflow itself is changed
This commit is contained in:
Jonathan Wren 2021-08-16 19:46:01 -07:00 committed by GitHub
parent b23c831da5
commit 8a64b77e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@ on:
- 'tests/**' - 'tests/**'
- 'poetry.lock' - 'poetry.lock'
- 'pyproject.toml' - 'pyproject.toml'
- '.github/workflows/testing.yaml'
pull_request: pull_request:
branches: [ develop ] branches: [ develop ]
paths: paths:
@ -17,6 +18,7 @@ on:
- 'tests/**' - 'tests/**'
- 'poetry.lock' - 'poetry.lock'
- 'pyproject.toml' - 'pyproject.toml'
- '.github/workflows/testing.yaml'
jobs: jobs:
test: test:
@ -64,7 +66,7 @@ jobs:
if: ${{ matrix.python-version == '3.10-dev' }} if: ${{ matrix.python-version == '3.10-dev' }}
run: | run: |
echo '::group::poetry' echo '::group::poetry'
pip install poetry==1.2.0a1 pip install poetry==1.2.0a2
poetry config --local virtualenvs.in-project true poetry config --local virtualenvs.in-project true
echo '::endgroup::' echo '::endgroup::'