summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-06-11 15:38:16 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-06-11 16:43:35 -0500
commit727304595bba14dae6d765282490978f061f71de (patch)
tree7ad5c421cad720f4adeec6cef0758130f66eb718 /.github
parenteb9206216686344a5a423216ff1e0cf99c1e3206 (diff)
downloadrequests-cache-727304595bba14dae6d765282490978f061f71de.tar.gz
Workaround for poetry issue on python 3.10 beta
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fc17e99..5cce9bf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -58,6 +58,11 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: poetry install -v -E all
+ - name: Workaround for issue with poetry package extras (python 3.10 only)
+ if: ${{ startsWith(matrix.python-version, '3.10') }}
+ run: |
+ source $VENV
+ pip install -U cattrs
- name: Install latest available requests + urllib3 (scheduled tests only)
if: ${{ github.event.schedule }}
run: |
@@ -68,8 +73,8 @@ jobs:
- name: Run tests
run: |
source $VENV
- pytest tests/unit --numprocesses=auto ${{ env.COVERAGE_ARGS }}
- pytest tests/integration --cov-append ${{ env.COVERAGE_ARGS }}
+ pytest -x tests/unit --numprocesses=auto ${{ env.COVERAGE_ARGS }}
+ pytest -x tests/integration --cov-append ${{ env.COVERAGE_ARGS }}
# Latest python version: send coverage report to coveralls
- name: Run coveralls