Skip to content

Commit

Permalink
Test/CI: Run more tests in non-library Appveyor tests to balance test…
Browse files Browse the repository at this point in the history
…ing time.
  • Loading branch information
bjones1 committed Sep 5, 2018
1 parent 2110717 commit d45fab4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions appveyor.yml
Expand Up @@ -128,8 +128,7 @@ install:
- python -m pip install -U pip setuptools wheel

# Install the PyInstaller test dependencies.
- pip install -U -r tests/requirements-tools.txt
- if "%TEST_LIBRARIES_ONLY%" == "True" pip install -U -r tests/requirements-libraries.txt
- pip install -U -r tests/requirements-libraries.txt

# Install PyInstaller
- pip install -e .
Expand All @@ -152,12 +151,11 @@ test_script:
# statement.
- if "%TEST_LIBRARIES_ONLY%" == "True" (
set PYTEST_CMD=%PYTEST% -k "test_noarchive[onefile]" ^&^&
%PYTEST% tests/functional/test_libraries.py tests/functional/test_hooks
%PYTEST% tests/functional/test_libraries.py
-k "not test_noarchive[onefile]"
) else (
set PYTEST_CMD=%PYTEST% tests/unit tests/functional
--ignore=tests/functional/test_libraries.py
--ignore=tests/functional/test_hooks
)
# Run the tests appropriate for this entry in the test matrix. Skip tests
# if we're just updating the cache; see https://www.appveyor.com/docs/environment-variables/.
Expand Down

0 comments on commit d45fab4

Please sign in to comment.