From 9db41afde4af71ca116700cb8ea9f8b425f103ca Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 13 Sep 2023 14:10:44 +0200 Subject: [PATCH] build: add joystick tests Signed-off-by: deadprogram --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2727f915..e09013af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,10 +38,10 @@ jobs: name: Debug version command: go version - run: - # digispark needs libusb, joystick needs sdl2, opencv needs opencv - name: Platform tests (except digispark, joystick, opencv) + # digispark needs libusb, opencv needs opencv + name: Platform tests (except digispark and opencv) command: | - go test -v $(go list ./platforms/... | grep -v platforms/digispark | grep -v platforms/joystick | grep -v platforms/opencv) + go test -v $(go list ./platforms/... | grep -v platforms/digispark | grep -v platforms/opencv) "check_examples": docker: @@ -52,11 +52,11 @@ jobs: name: Debug version command: go version - run: - # digispark needs libusb, joystick needs sdl2, opencv needs opencv - name: Check examples (except digispark, joystick, opencv) + # digispark needs libusb, opencv needs opencv + name: Check examples (except digispark, opencv) command: | ALL=$(grep -l -r --include "*.go" 'build example' ./) - SOME=$(grep -L 'digispark' $(grep -L 'joystick' $(grep -L 'gocv' ${ALL}))) + SOME=$(grep -L 'digispark' $(grep -L 'gocv' ${ALL})) for e in ${SOME} ; do go vet "${e}" ; done workflows: