Skip to content

Commit

Permalink
More parametrize though
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Mar 17, 2021
1 parent fabdd17 commit 55f3970
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
pip install -r requirements-test.txt
- name: Run test
run: |
py.test -n 0 --cov-report=xml
py.test -n 0 --postgresql-exec="/usr/lib/postgresql/${{ matrix.postgres-version }}/bin/pg_ctl" --cov-report=xml
- name: Run xdist test
run: |
py.test -n 1 --cov-report=xml:coverage-xdist.xml
py.test -n 1 --postgresql-exec="/usr/lib/postgresql/${{ matrix.postgres-version }}/bin/pg_ctl" --cov-report=xml:coverage-xdist.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ You can pick which you prefer, but remember that these settings are handled in t
- --postgresql-exec
- postgresql_exec
- -
- /usr/lib/postgresql/9.1/bin/pg_ctl
- /usr/lib/postgresql/9.5/bin/pg_ctl
* - host
- host
- --postgresql-host
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ match = '(?!docs|build|venv).*\.py'

[tool:pytest]
addopts = --max-worker-restart=0 --showlocals --verbose --cov src/pytest_postgresql --cov tests
postgresql_exec = /usr/lib/postgresql/10/bin/pg_ctl
testpaths = tests
xfail_strict = true
pytester_example_dir = tests/examples
Expand Down

0 comments on commit 55f3970

Please sign in to comment.