From 1a366df42b1d8ad80925b37d464b4704bfed6ce6 Mon Sep 17 00:00:00 2001 From: Jordan Cook Date: Sat, 14 Aug 2021 15:29:54 -0500 Subject: Drop testing for requests <=0.21 --- .github/workflows/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 65b2e71..8bdb89f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: python-version: [3.7] - requests-version: [2.17, 2.18, 2.19, 2.20.1, 2.21, 2.22, 2.23, 2.24, latest] + requests-version: [2.22, 2.23, 2.24, 2.25, latest] fail-fast: false services: nginx: @@ -69,12 +69,11 @@ jobs: poetry install -v -E all # Run unit + integration tests, with additional stress tests - # Skip test for streaming responses; requires requests >= 2.19 (tested on latest version in build.yml) - name: Run tests run: | source $VENV pytest --numprocesses=auto tests/unit - pytest tests/integration -k 'not test_response_decode' + pytest tests/integration STRESS_TEST_MULTIPLIER=5 pytest tests/integration/ -k 'multithreaded' # Deploy stable builds on tags only, and pre-release builds from manual trigger ("workflow_dispatch") -- cgit v1.2.1