summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom DNetto <tom@tailscale.com>2022-04-14 15:40:20 -0700
committerTom DNetto <tom@tailscale.com>2022-04-14 15:46:55 -0700
commit34250922890e03a3608a2e91b574464d01b0d3c4 (patch)
tree7bf621372f4733a5ef43465ca314e6a4e9893c26
parentdf9ce972c79023e0b0535bffee6afb3d88e61dc3 (diff)
downloadtailscale-tom/integration.tar.xz
tailscale-tom/integration.zip
github actions: resume running Nix-based integration teststom/integration
These should be back in a good state, and some tests (ie: TestMITMProxy) are based on nix tooling so we should do these in CI. Signed-off-by: Tom DNetto <tom@tailscale.com>
-rw-r--r--.github/workflows/vm.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/vm.yml b/.github/workflows/vm.yml
index 8e982161f..69b6074d7 100644
--- a/.github/workflows/vm.yml
+++ b/.github/workflows/vm.yml
@@ -19,12 +19,16 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.18
+ - name: Set up Nix
+ uses: cachix/install-nix-action@v17
+ with:
+ nix_path: nixpkgs=channel:nixos-21.11
- name: Checkout Code
uses: actions/checkout@v3
- name: Run VM tests
- run: go test ./tstest/integration/vms -v -no-s3 -run-vm-tests -run=TestRunUbuntu2004
+ run: go test ./tstest/integration/vms -v --timeout=20m --no-s3 --run-vm-tests --distro-regex '(nix|ubuntu)'
env:
HOME: "/tmp"
TMPDIR: "/tmp"