Skip to content

Commit

Permalink
Testing: Detect --run-slow option when passed to runtests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Feb 12, 2018
1 parent a72b5b1 commit 6018cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# Standard library imports
import os
import sys

# Third party imports
import qtpy # to ensure that Qt4 uses API v2
Expand All @@ -18,10 +19,9 @@

# To run our slow tests only in our CIs
run_slow = False
if os.environ.get('CI', None) is not None:
if os.environ.get('CI', None) is not None or '--run-slow' in sys.argv:
run_slow = True


def main():
"""
Run pytest tests.
Expand Down

0 comments on commit 6018cae

Please sign in to comment.