From 5fe2614a5d63aa03afbb48c48c0b541d6b30de58 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 28 Jul 2023 09:46:40 -0600 Subject: [PATCH] Add test action for urllib3 1.x --- .github/workflows/run-tests.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 81f0e424bd..d7bfa802b1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -33,3 +33,24 @@ jobs: uses: codecov/codecov-action@v3 with: directory: tests + + + urllib3: + name: 'urllib3 1.x' + runs-on: 'ubuntu-latest' + strategy: + fail-fast: true + + steps: + - uses: actions/checkout@v3 + - name: 'Set up Python 3.10' + uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Install dependencies + run: | + python scripts/ci/install + python -m pip install "urllib3<2" + - name: Run tests + run: | + python scripts/ci/run-tests --with-cov --with-xdist