diff --git a/.github/workflows/run-examples.yml b/.github/workflows/run-examples.yml index ecba445..469cadc 100644 --- a/.github/workflows/run-examples.yml +++ b/.github/workflows/run-examples.yml @@ -21,4 +21,4 @@ jobs: - name: Install pytest other dependencies run: pip install pytest setuptools gymnasium torch osmnx - name: Run examples with pytest - run: pytest tests/test_examples.py --durations=0 + run: pytest tests/test_demos_and_examples.py --durations=0 diff --git a/tests/test_demos_and_examples.py b/tests/test_demos_and_examples.py index 3222132..dfaae6c 100644 --- a/tests/test_demos_and_examples.py +++ b/tests/test_demos_and_examples.py @@ -3,7 +3,7 @@ import os # Directory containing example scripts -examples_dir = '../demos_and_examples' +examples_dir = 'demos_and_examples' # Ignore list nontest_files = [ "example_14en_multiple_signals_Deep_Reinforcement_Learning_pytorch.py" #takes too much time. DQN can be tested by example_12en_* as well.