Skip to content

Commit

Permalink
Added possibility to trigger workflow manually
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michalinacienciala committed Feb 9, 2021
1 parent e59dfd9 commit 5affb78
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- master
pull_request:
workflow_dispatch:

jobs:
build-and-test:
Expand All @@ -25,13 +26,37 @@ 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 \
--volume /tmp/test-results/keep-core-go:/mnt/test-results \
--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/[email protected]
if: always() # guarantees that this action always runs, even if earlier steps fail
Expand Down

0 comments on commit 5affb78

Please sign in to comment.