From: German Service Network Date: Sat, 13 Dec 2025 11:47:04 +0000 (+0100) Subject: Add github action for test X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdev;p=EnergyLogger4000-Reader.git Add github action for test --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..2db3f9d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Test +on: [push, pull_request, workflow_dispatch] +jobs: + Test-Linux: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Build + run: cargo build --verbose + + - name: Run tests + run: cargo test --verbose --test binary_integration_test -- --nocapture \ No newline at end of file