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