aboutsummaryrefslogtreecommitdiff
path: root/.forgejo
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo')
-rw-r--r--.forgejo/workflows/test.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
new file mode 100644
index 0000000..433c514
--- /dev/null
+++ b/.forgejo/workflows/test.yml
@@ -0,0 +1,21 @@
+name: Run Tests
+
+on:
+ push:
+ branches: [ main, master ]
+ pull_request:
+
+jobs:
+ test:
+ # Passt zu deinen Runner-Labels (docker / alpine)
+ runs-on: docker
+ container:
+ image: vlang/vlang:alpine
+
+ steps:
+ - name: Code auschecken
+ uses: actions/checkout@v4
+
+ - name: V Tests ausführen
+ run: |
+ v test .