From 5e63ad62137ea177b6d5e5d30967af0b0a5de4a8 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 10 Feb 2025 23:54:13 +0100 Subject: [PATCH] test Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- hack/Vagrantfile.netbsd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a3dad9686311..15f154460c21 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -281,7 +281,7 @@ jobs: - name: Test run: | - vagrant ssh -- "cd /vagrant; SKIP_INTEGRATION_TESTS=1 go test -mod=vendor -coverprofile=coverage.txt -covermode=atomic ${{ env.TESTFLAGS }} ./..." + vagrant ssh -- "df -h; cd /vagrant; SKIP_INTEGRATION_TESTS=1 go test -mod=vendor -coverprofile=coverage.txt -covermode=atomic ${{ env.TESTFLAGS }} ./..." vagrant ssh -c "sudo cat /vagrant/coverage.txt" > coverage.txt - name: Upload coverage diff --git a/hack/Vagrantfile.netbsd b/hack/Vagrantfile.netbsd index 568739e93bb2..d55a0993689f 100644 --- a/hack/Vagrantfile.netbsd +++ b/hack/Vagrantfile.netbsd @@ -9,6 +9,7 @@ Vagrant.configure("2") do |config| config.vm.provision "init", type: "shell", run: "once" do |sh| sh.inline = <<~SHELL + umount -f /tmp pkgin -y install git mozilla-rootcerts mozilla-rootcerts install