mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 05:32:30 +08:00
9 lines
311 B
Bash
Executable File
9 lines
311 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
PATTERN="$1"
|
|
shift
|
|
|
|
# CircleCI has a bug in its workspace code where it can't handle filenames with some chars
|
|
CLEANED_PATTERN=`echo $PATTERN | tr '^?()$' '_'`
|
|
exec tox -l | grep "$PATTERN" | tr '\n' ',' | xargs -I ARGS tox --result-json /tmp/"$CLEANED_PATTERN".results -e ARGS -- $@
|