tailscale/.github/workflows
Brad Fitzpatrick 3c800dcd71 .github/workflows: fix natlab test discovery with fully-excluded files
The Discover tests step runs under set -euo pipefail, so when every
Test function in a file is filtered out by the exclude regex (as with
vnetperf_test.go, whose TestVnetPerf* tests need special invocation),
the final grep -vE produces no output and exits 1, failing the whole
step. Tolerate empty results from both greps so such files simply
contribute no matrix entries. Same for a hypothetical future test
file containing only helpers and no Test functions.

Updates tailscale/corp#44805

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Change-Id: If20c9a1de37e97b1553bd7d5559e2b876a45c19b
2026-07-13 13:35:13 -07:00
..
checklocks.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
cigocacher.yml .github: Bump actions/download-artifact from 8.0.0 to 8.0.1 2026-03-27 14:55:59 +00:00
codeql-analysis.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
docker-base.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
docker-file-build.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
flakehub-publish-tagged.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
golangci-lint.yml go.toolchain.branch: switch to Go 1.26 2026-03-04 21:57:05 -08:00
govulncheck.yml .github: pin govulncheck@1.3.0 (#20219) 2026-06-23 11:51:46 -07:00
installer.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
kubemanifests.yaml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
natlab-basic.yml tstest/natlab/vmtest: start migrating old natlab tests to vmtest (#19727) 2026-05-13 16:44:53 -04:00
natlab-test.yml .github/workflows: fix natlab test discovery with fully-excluded files 2026-07-13 13:35:13 -07:00
pin-github-actions.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
policybot-test.yml .github,.policy-tests.yml: test .policy.yml in CI 2026-06-26 15:55:15 -07:00
request-dataplane-review.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
request-k8s-review.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
ssh-integrationtest.yml ssh/tailssh: speed up SSH integration tests 2026-04-13 14:18:27 -07:00
test.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
update-flake.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
update-webclient-prebuilt.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00
vet.yml .github/workflows: run vet on GitHub-hosted runners (#19913) 2026-05-28 21:30:46 +01:00
webclient.yml .github: bump actions/checkout from 6.0.1 to 6.0.2 2026-02-23 08:44:40 -07:00
zizmor.yml .github: add zizmor GitHub Actions linting (#20243) 2026-06-24 13:14:54 -07:00