Skip to content

Commit

Permalink
go test smoketest
Browse files Browse the repository at this point in the history
  • Loading branch information
safeer committed Oct 3, 2024
1 parent dd3cb62 commit 9f01cbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ env.LATEST_RELEASE }}
fetch-depth: 0
fetch-tags: true
- name: Init Hermit
uses: cashapp/activate-hermit@v1
with:
Expand All @@ -398,6 +400,7 @@ jobs:
set -euo pipefail
# shellcheck disable=SC2046
test_files=$(git grep -l '^//go:build smoketest' | xargs -I {} dirname ./{})
echo "smoke test test_files: $test_files"
for file in $test_files; do
go test -v -race -tags smoketest -run '^SmokeTest' $file
go test -v -run '^SmokeTest' "$file"
done

0 comments on commit 9f01cbf

Please sign in to comment.