Skip to content

Commit d0e71d2

Browse files
committed
try different way to preserve the quotes
1 parent 9f243bd commit d0e71d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ jobs:
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 marks='-m "sklearn"'; else marks='-m "not production"'; fi
104+
if [ ${{ matrix.sklearn-only }} = 'true' ]; then marks='sklearn and not production'; else marks='not production'; fi
105105
echo pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true $marks
106-
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true $marks
106+
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
107107
- name: Run tests on Ubuntu Production
108108
if: matrix.os == 'ubuntu-latest'
109109
run: |
110110
if [ ${{ matrix.code-cov }} ]; then codecov='--cov=openml --long --cov-report=xml'; fi
111111
# Most of the time, running only the scikit-learn tests is sufficient
112-
if [ ${{ matrix.sklearn-only }} = 'true' ]; then marks='-m "sklearn"'; else marks='-m "production"'; fi
113-
echo pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true $marks
114-
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true $marks
112+
if [ ${{ matrix.sklearn-only }} = 'true' ]; then marks='sklearn and production'; else marks='production'; fi
113+
echo pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
114+
pytest -n 4 --durations=20 --dist load -sv $codecov -o log_cli=true -m "$marks"
115115
- name: Run tests on Windows
116116
if: matrix.os == 'windows-latest'
117117
run: | # we need a separate step because of the bash-specific if-statement in the previous one.

0 commit comments

Comments
 (0)