From 86549feafadf9586113c6fc84066048a997083bd Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Wed, 29 Jun 2022 20:55:43 +1000 Subject: [PATCH] gen.golang: globally skip go backend tests & run only on ubuntu-tcc --- .github/workflows/ci.yml | 3 +++ cmd/tools/vtest-self.v | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2efc705cd..1be6279d99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,7 @@ jobs: sudo apt-get update sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev valgrind sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev + sudo apt-get install --quiet -y golang-go ## The following is needed for examples/wkhtmltopdf.v wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb sudo apt-get install --quiet -y xfonts-75dpi xfonts-base @@ -84,6 +85,8 @@ jobs: run: ./v tutorials/building_a_simple_web_blog_with_vweb/code/blog - name: Build cmd/tools/fast run: cd cmd/tools/fast && ../../../v fast.v && ./fast + - name: Test Go backend + run: ./v vlib/v/gen/golang/tests/golang_test.v - name: V self compilation with -usecache run: | unset VFLAGS diff --git a/cmd/tools/vtest-self.v b/cmd/tools/vtest-self.v index dd720e3c6b..2f7fa32c7d 100644 --- a/cmd/tools/vtest-self.v +++ b/cmd/tools/vtest-self.v @@ -90,6 +90,7 @@ const ( 'vlib/context/deadline_test.v' /* sometimes blocks */, 'vlib/mysql/mysql_orm_test.v' /* mysql not installed */, 'vlib/pg/pg_orm_test.v' /* pg not installed */, + 'vlib/v/gen/golang/tests/golang_test.v' /* we will manually run this on only ubuntu-tcc for now */, ] skip_fsanitize_too_slow = [ // These tests are too slow to be run in the CI on each PR/commit