Sfoglia il codice sorgente

cicd: Include unit tests and integration tests

jamesread 2 anni fa
parent
commit
6851683d94
1 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 12 0
      .github/workflows/build-snapshot.yml

+ 12 - 0
.github/workflows/build-snapshot.yml

@@ -36,6 +36,18 @@ jobs:
       - name: grpc
       - name: grpc
         run: make grpc
         run: make grpc
 
 
+      - name: make daemon
+        run: make daemon-compile-x64-lin
+
+      - name: unit tests
+        run: make daemon-unittests
+
+      - name: integration tests
+        uses: cypress-io/github-action@v6
+        with:
+          start: ./OliveTin
+          working-directory: integration-tests
+
       - name: goreleaser
       - name: goreleaser
         uses: goreleaser/goreleaser-action@v4.2.0
         uses: goreleaser/goreleaser-action@v4.2.0
         with:
         with: