summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-04-19 11:30:56 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-04-19 12:51:25 -0500
commitdd7ef7197a44688ed06356199f993161891363b2 (patch)
tree6f1a457a801e75ef4c34e09758afdc2e4868b10a /.github
parent1fcbe2b30e4fdd96c345b5ea488ae51d3f542273 (diff)
downloadrequests-cache-dd7ef7197a44688ed06356199f993161891363b2.tar.gz
Use pytest-order to order tests; remove ipdb recommendation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 049ee38..4ad4fd3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -55,9 +55,7 @@ jobs:
# Run unit tests first (and with multiprocessing) to fail quickly if there are issues
run: |
pytest tests/unit --numprocesses=auto ${{ env.COVERAGE_ARGS }}
- pytest -k 'not dynamodb' tests/integration ${{ env.COVERAGE_ARGS }} --cov-append
- # Run DynamoDB tests last, since that container takes the longest to initialize
- pytest tests/integration/test_dynamodb.py ${{ env.COVERAGE_ARGS }} --cov-append
+ pytest tests/integration --cov-append ${{ env.COVERAGE_ARGS }}
- name: Send code coverage report to Coveralls
if: ${{ matrix.python-version == env.LATEST_PY_VERSION }}
env:
@@ -69,8 +67,7 @@ jobs:
if: ${{ matrix.python-version != env.LATEST_PY_VERSION }}
run: |
pytest --numprocesses=auto tests/unit
- pytest -k 'not dynamodb' tests/integration
- pytest tests/integration/test_dynamodb.py
+ pytest tests/integration
# Run code analysis checks
analyze: