chore(usbgadget): update usbgadget config only when needed (#474)

This commit is contained in:
Aveline
2025-05-19 21:48:43 +02:00
committed by GitHub
parent 0a4a1af80e
commit 7a9fb7cbb1
14 changed files with 1357 additions and 221 deletions

View File

@@ -69,6 +69,15 @@ jobs:
CI_USER: ${{ vars.JETKVM_CI_USER }}
CI_HOST: ${{ vars.JETKVM_CI_HOST }}
CI_SSH_PRIVATE: ${{ secrets.JETKVM_CI_SSH_PRIVATE }}
- name: Run tests
run: |
set -e
make build_dev_test
echo "+ Copying device-tests.tar.gz to remote host"
ssh jkci "cat > /userdata/jetkvm/device-tests.tar.gz" < device-tests.tar.gz
echo "+ Running go tests"
ssh jkci "cd /userdata/jetkvm && tar zxvf device-tests.tar.gz && ./run_all_tests -json"
- name: Deploy application
run: |
set -e