Skip to content

Commit 2fcb4e4

Browse files
committed
Skip semgrep in init-without-token
1 parent 3ddf4a2 commit 2fcb4e4

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

integration-tests/run.ps1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ function Compare-Files {
8282
# Compare files
8383
Get-ChildItem -Path $expectedDir -File | ForEach-Object {
8484
$actualFile = Join-Path $actualDir $_.Name
85+
86+
# Skip Semgrep-related files only for init-without-token test
87+
if ($label -match 'init-without-token' -and $_.Name -match 'semgrep') {
88+
Write-Host "⏭️ Skipping Semgrep file: $label/$($_.Name)"
89+
continue
90+
}
91+
8592
if (-not (Test-Path $actualFile)) {
8693
Write-Host "$label/$($_.Name) does not exist in actual output"
8794
Write-Host "Expected: $($_.FullName)"

integration-tests/run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ compare_files() {
5858
filename=$(basename "$file")
5959
actual_file="$actual_dir/$filename"
6060

61+
# Skip Semgrep-related files only for init-without-token test
62+
if [[ "$label" == *"init-without-token"* && "$filename" == *"semgrep"* ]]; then
63+
echo "⏭️ Skipping Semgrep file: $label/$filename"
64+
continue
65+
fi
66+
6167
if [ ! -f "$actual_file" ]; then
6268
echo "$label/$filename does not exist in actual output"
6369
echo "Expected: $file"

0 commit comments

Comments
 (0)