Skip to content

Commit 1957993

Browse files
authored
Merge pull request #129 from readthedocs/humitos/ignore-exit-pytest
Suppress no test ran exit code when running 0 tests
2 parents c9b08e1 + 3dbd984 commit 1957993

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)