Skip to content

Commit

Permalink
Fix glob expansion by adding quotes and add diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGleave committed Oct 3, 2023
1 parent 8db6bfb commit 74b9605
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ jobs:
name: run tests
command: |
source ~/venv/bin/activate
TESTFILES=$(circleci tests glob tests/**/test*.py | circleci tests split --split-by=timings)
ALL_TESTFILES=$(circleci tests glob "tests/**/test*.py")
echo "All testfiles: ${ALL_TESTFILES}"
TESTFILES=$(echo $ALL_TESTFILES | circleci tests split --split-by=timings)
echo "This shard testing: ${TESTFILES}"
pytest -n auto --junitxml=/tmp/test-reports/junit.xml -vv $TESTFILES
- save-pytest-cache
Expand Down

0 comments on commit 74b9605

Please sign in to comment.