diff options
author | Jordan Cook <JWCook@users.noreply.github.com> | 2021-08-12 15:32:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 15:32:23 -0500 |
commit | 894f3ab5b8c0efd1ada0f75dd33cc3b195d5f9a6 (patch) | |
tree | 89a6ff48e04fead5f18ae1d0d3083eaee090e7ec /.github | |
parent | dd40f0c5d1b0cf94b43fd8137a5d3f53d8509ac7 (diff) | |
parent | f61edc315580094605747012e04029cb9aa36427 (diff) | |
download | requests-cache-894f3ab5b8c0efd1ada0f75dd33cc3b195d5f9a6.tar.gz |
Merge pull request #352 from JWCook/cache-control-fixes-and-tests
Cache-Control fixes and tests
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d81cb1..7706173 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: env: LATEST_PY_VERSION: 3.9 COVERAGE_ARGS: '--cov --cov-report=term --cov-report=html' - COMPLEXITY_ARGS: '--show-complexity --average --order SCORE' + XDIST_ARGS: '--numprocesses=auto --dist=loadfile' jobs: # Run tests for each supported python version @@ -66,8 +66,8 @@ jobs: - name: Run tests run: | source $VENV - pytest -rs -x tests/unit --numprocesses=auto ${{ env.COVERAGE_ARGS }} - pytest -rs -x tests/integration --cov-append ${{ env.COVERAGE_ARGS }} + pytest -rs -x tests/unit ${{ env.XDIST_ARGS }} ${{ env.COVERAGE_ARGS }} + pytest -rs -x tests/integration --cov-append ${{ env.XDIST_ARGS }} ${{ env.COVERAGE_ARGS }} # Latest python version: send coverage report to coveralls - name: Run coveralls @@ -79,7 +79,6 @@ jobs: pip install coveralls coveralls --service=github - # Run code analysis checks via pre-commit hooks analyze: runs-on: ubuntu-18.04 |