Explorar el Código

cicd: start/stop server for integration tests, update checkout action

jamesread hace 2 años
padre
commit
a9906addff

+ 6 - 1
.github/workflows/build-snapshot.yml

@@ -42,12 +42,17 @@ jobs:
       - name: unit tests
         run: make daemon-unittests
 
+      - name: run OliveTin for integration tests
+        run: OliveTin &
+
       - name: integration tests
         uses: cypress-io/github-action@v6
         with:
-          start: ./../OliveTin
           working-directory: integration-tests
 
+      - name: kill OliveTin after integration tests
+        run: killall OliveTin
+
       - name: goreleaser
         uses: goreleaser/goreleaser-action@v4.2.0
         with:

+ 1 - 1
.github/workflows/codeql-analysis.yml

@@ -42,7 +42,7 @@ jobs:
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       # Initializes the CodeQL tools for scanning.
       - name: Initialize CodeQL

+ 1 - 1
.github/workflows/codestyle.yml

@@ -16,7 +16,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Setup Go
         uses: actions/setup-go@v3