#!/usr/bin/env bash # Local CI: run host unit tests, then build the firmware. set -euo pipefail source "$(dirname "$0")/_docker.sh" DOCKER_EXTRA=() run_in_container bash -c 'git config --global --add safe.directory "$PWD" && pio test -e native && pio run -e cardputer-adv -e cardputer-adv-debug'