From fa5230507c44a2551cc347f73b061ca293bcf9c3 Mon Sep 17 00:00:00 2001 From: thepudds <20628140+thepudds@users.noreply.github.com> Date: Sun, 21 Jan 2024 10:06:49 -0500 Subject: [PATCH] test.yml: stop testing tailscale repo (effectively a moving target due to build constraints and so on) --- .github/workflows/test.yml | 2 +- testscripts/external_tailscale.txt | 35 ------------------------------ 2 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 testscripts/external_tailscale.txt diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d61823d..2ac3b3e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -134,7 +134,7 @@ jobs: strategy: fail-fast: false matrix: - external-repo: [tailscale, terraform_chain, terraform_nochain] + external-repo: [terraform_chain, terraform_nochain] runs-on: ubuntu-latest defaults: run: diff --git a/testscripts/external_tailscale.txt b/testscripts/external_tailscale.txt deleted file mode 100644 index eed71c6..0000000 --- a/testscripts/external_tailscale.txt +++ /dev/null @@ -1,35 +0,0 @@ -# Run fzgen against the full tailscale repo, and confirm results all compile. -# The count of created files are for linux. -# -# To run just this, including cloning the external packages: -# go test -run=TestScripts/external_tailscale -end2end -allexternal - -[!exec:true$exe] skip 'skipping because true not found in path' -[!exec:git$exe] skip 'skipping because git not found in path' -[!exec:gotip$exe] skip 'skipping because gotip not found in path' - -# Validate gotip is Go 1.18+. -exec gotip version -# We do not envision a Go 2. -stdout 'go version.*go1\.(1[8-9]|[2-9][0-9]|[1-9][0-9][0-9])' - -# Verify running against tailscale repo. -# 5a9914a9 is tailscale main as of 2021-12-16. -[!allexternal] skip 'skipping longer external test because -allexternal is not set' -exec git clone https://github.com/tailscale/tailscale -cd tailscale -exec git checkout 5a9914a9 -exec gotip mod tidy -exec gotip get github.com/thepudds/fzgen/fuzzer -exec gotip get -d ./... -fzgen ./... -stdout 'fzgen: created 91 files' -exec gotip test -exec=true ./... -fzgen -chain -ctor=. ./... -stdout 'fzgen: created 23 files' -exec gotip test -exec=true ./... -exec bash -c 'find . -name "autofuzz_test.go" -exec egrep -L "^W*func" {} \; | wc -l' -stdout '^0$' -exec bash -c 'find . -name "autofuzzchain_test.go" -exec egrep -L "^W*func" {} \; | wc -l' -stdout '^0$' -cd ..