diff options
author | MaurĂcio Antunes <mauricio.abreua@gmail.com> | 2022-11-18 07:48:36 -0300 |
---|---|---|
committer | MaurĂcio Antunes <mauricio.abreua@gmail.com> | 2022-11-18 07:48:36 -0300 |
commit | 376c8f6abc851f51ce0f646e6de1dd71db2fb865 (patch) | |
tree | a7ff79b9dff2364087f519ff7c4a7c0eb3e91750 | |
parent | 37339f9aef253d072564c883357d3f6d678e5036 (diff) |
ci: exclude non compilable files from build and test
-rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9d4b04..632253c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: go-version: 1.19 - name: Build - run: cd golings && go build -v ./... + run: cd golings && go build -v $(go list ./... | grep -v fixtures/error1) - name: Test - run: cd golings && go test -v ./... + run: cd golings && go test -v $(go list ./... | grep -v fixtures/error1) |