Skip to content

Commit 07ae323

Browse files
committed
Fixes pytest -m arg handling in CI
1 parent 9c03144 commit 07ae323

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
if [[ "${{ env.CI_BRANCH }}" == "master" || "${{ env.CI_BRANCH }}" == "develop" ]]; then
6565
echo "pytest_marks=" >> $GITHUB_OUTPUT
6666
else
67-
echo "pytest_marks=-m 'fast'" >> $GITHUB_OUTPUT
67+
echo "pytest_marks=-m fast" >> $GITHUB_OUTPUT
6868
fi
6969
7070
# Job 2: Test code
@@ -121,7 +121,7 @@ jobs:
121121
run: |
122122
for env in ${{ env.PIXI_ENVS }}; do
123123
echo "🔹🔸🔹🔸🔹 Current env: $env 🔹🔸🔹🔸🔹"
124-
pixi run --environment $env integration-tests "${{ needs.env-prepare.outputs.pytest-marks }}"
124+
pixi run --environment $env integration-tests ${{ needs.env-prepare.outputs.pytest-marks }}
125125
done
126126
127127
# Delete all local tags when not on a tagged commit to force versioningit
@@ -233,7 +233,7 @@ jobs:
233233
run: |
234234
for env in ${{ env.PIXI_ENVS }}; do
235235
echo "🔹🔸🔹🔸🔹 Current env: $env 🔹🔸🔹🔸🔹"
236-
pixi run --environment $env integration-tests "${{ needs.env-prepare.outputs.pytest-marks }}"
236+
pixi run --environment $env integration-tests ${{ needs.env-prepare.outputs.pytest-marks }}
237237
done
238238
239239
# Job 4: Trigger dashboard build

0 commit comments

Comments
 (0)