Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/scripts/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ gh release download \
tar xzf "/tmp/$ASSET_PATTERN" -C "./tmp" || { echo "ERROR: Failed to extract plugin"; exit 1; }

# Generate config for testing against the repo
# Tracing is disabled here to prevent GITHUB_TOKEN from appearing in logs
set +x
cat > "$CONFIG_FILE" <<EOF
loglevel: trace
write-directory: evaluation_results
Expand All @@ -102,6 +104,7 @@ services:
repo: pvtr-github-repo-scanner
token: ${GITHUB_TOKEN}
EOF
set -x

# Run pvtr with the plugin
./tmp/pvtr run -b "$PLUGIN_DIR" -c "$CONFIG_FILE" || STATUS=1
Expand Down
Loading