Speed up the PostgreSQL unit tests (#5717)

This commit is contained in:
Amber Brown 2019-07-19 19:01:23 +10:00 committed by GitHub
parent 6a85cb5ef7
commit 356ed0438e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View File

@ -117,8 +117,10 @@ steps:
limit: 2 limit: 2
- label: ":python: 3.5 / :postgres: 9.5" - label: ":python: 3.5 / :postgres: 9.5"
agents:
queue: "medium"
env: env:
TRIAL_FLAGS: "-j 4" TRIAL_FLAGS: "-j 8"
command: command:
- "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'" - "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
plugins: plugins:
@ -134,8 +136,10 @@ steps:
limit: 2 limit: 2
- label: ":python: 3.7 / :postgres: 9.5" - label: ":python: 3.7 / :postgres: 9.5"
agents:
queue: "medium"
env: env:
TRIAL_FLAGS: "-j 4" TRIAL_FLAGS: "-j 8"
command: command:
- "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'" - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
plugins: plugins:
@ -151,8 +155,10 @@ steps:
limit: 2 limit: 2
- label: ":python: 3.7 / :postgres: 11" - label: ":python: 3.7 / :postgres: 11"
agents:
queue: "medium"
env: env:
TRIAL_FLAGS: "-j 4" TRIAL_FLAGS: "-j 8"
command: command:
- "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'" - "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
plugins: plugins:

1
changelog.d/5717.misc Normal file
View File

@ -0,0 +1 @@
Speed up PostgreSQL unit tests in CI.