Skip to content

Commit 3dbd984

Browse files
committed
Suppress no test ran exit code when running 0 tests
1 parent 0b62a43 commit 3dbd984

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before_install:
1010
install:
1111
- pipenv install
1212
script:
13-
- pipenv run pytest
13+
- pipenv run pytest --suppress-no-test-exit-code
1414
- docker build .
1515

1616
branches:

Pipfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ name = "pypi"
99

1010
"dockerfile-parse" = "*"
1111
requests = "*"
12-
pytest = "*"
12+
pytest = "*"
13+
pytest-custom-exit-code = "*"

0 commit comments

Comments
 (0)