From 35778ce1ff3e1c57cc9611a664552c62f1dd9ee0 Mon Sep 17 00:00:00 2001 From: Tony Worm Date: Mon, 2 Aug 2021 22:42:40 -0400 Subject: [PATCH] run limited tests in workflow for now Signed-off-by: Tony Worm --- .github/workflows/default.cue | 5 ++++- .github/workflows/default.yml | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.cue b/.github/workflows/default.cue index 9873f4f6d..fa1ce81d6 100644 --- a/.github/workflows/default.cue +++ b/.github/workflows/default.cue @@ -25,7 +25,10 @@ ghacue.#Workflow & { run: "go install ./cmd/hof" },{ name: "Run tests" - run: "hof test test.cue" + run: """ + hof test test.cue -s gen -t test + hof test test.cue -s lib -t test -t mod + """ }] } } diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 6626d6ac8..1489191f3 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -27,5 +27,7 @@ jobs: - name: Build CLI run: go install ./cmd/hof - name: Run tests - run: hof test test.cue + run: |- + hof test test.cue -s gen -t test + hof test test.cue -s lib -t test -t mod services: {}