Skip to content

Commit

Permalink
fixup: a bit of config
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Apr 14, 2020
1 parent ae87f48 commit 8d16666
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
name: run tests
command: |
python3 --version
mysqld --user circleci --version
mysqld --version
. venv/bin/activate
py.test -vv -n 0 --showlocals --mysql-user circleci --cov src/pytest_mysql tests
py.test -n 0 --mysql-user circleci --mysql-mysqld /usr/sbin/mysqld
- store_artifacts:
path: test-reports
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ install:
- pip install -e .[tests] coveralls wheel
script:
- mysqld --version
- py.test -n 0 --showlocals --cov pytest_mysql tests
- py.test -n 0
after_success:
- coveralls
jobs:
include:
- stage: xdist
python: 3.7
script: py.test -n 1 --showlocals --cov pytest_mysql tests
script: py.test -n 1
- stage: linters
python: 3.7
install:
Expand Down
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[pytest]
addopts = --max-slave-restart=0 --showlocals --verbose --cov src/pytest_mysql --cov tests
mysql_dbname = pytestmysql
testpaths = tests
xfail_strict = true

0 comments on commit 8d16666

Please sign in to comment.