Explorar el Código

Add Github action for Go tests

abelanger5 hace 4 años
padre
commit
38fe015ff4
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      .github/workflows/test-backend.yml

+ 12 - 0
.github/workflows/test-backend.yml

@@ -0,0 +1,12 @@
+name: Backend CI
+on:
+  - pull_request
+jobs:
+  backend-tests:
+    name: Run Go tests
+    runs-on: ubuntu-latest
+    - uses: actions/checkout@v2
+    - uses: actions/setup-go@v2.1.4
+      with:
+        go-version: '^1.15.1'
+    - run: go test ./...