From 5affb7869d131f8b5a06d046c375c5b3c5f30d09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= Date: Mon, 8 Feb 2021 18:05:17 +0100 Subject: [PATCH] Added possibility to trigger workflow manually Each workflow should be malually triggerable and should trigger its downstream dependencies. This commit adresses the first part of that statement. Triggering of downstream dependencies is not yet developed, as downstream workflows aren't yet created. --- .github/workflows/client.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index bcd8b15604..816580f7a1 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -6,6 +6,7 @@ on: branches: - master pull_request: + workflow_dispatch: jobs: build-and-test: @@ -25,6 +26,18 @@ jobs: run: | mkdir -p /tmp/test-results/keep-core-go cd /tmp/test-results/keep-core-go/ + - name: DEBUG + run: | + pwd + - name: DEBUG + run: | + ls + - name: DEBUG + run: | + ls /tmp/test-results/keep-core-go/ + - name: DEBUG + run: | + ls /home/runner/work/keep-core/keep-core - name: Run Go tests run: | docker run \ @@ -32,6 +45,18 @@ jobs: --workdir /go/src/github.com/keep-network/keep-core \ go-build-env \ gotestsum --junitfile /mnt/test-results/unit-tests.xml + - name: DEBUG + run: | + pwd + - name: DEBUG + run: | + ls + - name: DEBUG + run: | + ls /tmp/test-results/keep-core-go/ + - name: DEBUG + run: | + ls /home/runner/work/keep-core/keep-core - name: Publish Unit Test results uses: EnricoMi/publish-unit-test-result-action@v1.7 if: always() # guarantees that this action always runs, even if earlier steps fail