]> git.gsnw.org Git - EnergyLogger4000-Reader.git/commitdiff
Add github action for test dev
authorGerman Service Network <support@gsnw.de>
Sat, 13 Dec 2025 11:47:04 +0000 (12:47 +0100)
committerGerman Service Network <support@gsnw.de>
Sat, 13 Dec 2025 11:47:04 +0000 (12:47 +0100)
.github/workflows/test.yml [new file with mode: 0644]

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644 (file)
index 0000000..2db3f9d
--- /dev/null
@@ -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