From 31cac53e0a4bfa426ae1889f850b84d60d796332 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Tue, 25 May 2021 15:40:09 -0400 Subject: [PATCH] github: test on cmd in advance --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0dd5e0..dff1443 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -191,6 +191,15 @@ jobs: false fi + - name: 'Test on periph.io/x/cmd' + # Force an upgrade to test cmd with tip of tree devices. + run: | + cd .. + git clone https://github.com/periph/cmd + cd cmd + go get periph.io/x/devices/v3@${GITHUB_SHA} + go test -short ./... + - name: 'Send comments' if: failure() && github.event_name == 'pull_request' run: |