@@ -96,14 +96,22 @@ jobs:
9696 echo "Repository status before tests: $git_status"
9797 - name : Show installed dependencies
9898 run : python -m pip list
99- - name : Run tests on Ubuntu
99+ - name : Run tests on Ubuntu Production
100100 if : matrix.os == 'ubuntu-latest'
101101 run : |
102102 if [ ${{ matrix.code-cov }} ]; then codecov='--cov=openml --long --cov-report=xml'; fi
103103 # Most of the time, running only the scikit-learn tests is sufficient
104- if [ ${{ matrix.sklearn-only }} = 'true' ]; then sklearn ='-m sklearn'; fi
104+ if [ ${{ matrix.sklearn-only }} = 'true' ]; then marks ='-m "production and sklearn"'; else marks='-m production '; fi
105105 echo pytest -n 4 --durations=20 --dist load -sv $codecov $sklearn -o log_cli=true
106- pytest -n 4 --durations=20 --dist load -sv $codecov $sklearn -o log_cli=true
106+ pytest -n 4 --durations=20 --dist load -sv $codecov $marks -o log_cli=true
107+ - name : Run tests on Ubuntu Test
108+ if : matrix.os == 'ubuntu-latest'
109+ run : |
110+ if [ ${{ matrix.code-cov }} ]; then codecov='--cov=openml --long --cov-report=xml'; fi
111+ # Most of the time, running only the scikit-learn tests is sufficient
112+ if [ ${{ matrix.sklearn-only }} = 'true' ]; then marks='-m "not production and sklearn"'; else marks='-m "not production"'; fi
113+ echo pytest -n 4 --durations=20 --dist load -sv $codecov $marks -o log_cli=true
114+ pytest -n 4 --durations=20 --dist load -sv $codecov $marks -o log_cli=true
107115 - name : Run tests on Windows
108116 if : matrix.os == 'windows-latest'
109117 run : | # we need a separate step because of the bash-specific if-statement in the previous one.
0 commit comments