Skip to content

Commit

Permalink
Simplified creation of test results directory
Browse files Browse the repository at this point in the history
Command run in the step creating test results directory has been
simplified. There is no need to use GITHUB_WORKSPACE env variable here
as commands executed via 'run' keyword are executed in that location by
default.
  • Loading branch information
michalinacienciala committed Feb 10, 2021
1 parent 1947d44 commit 0504b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
--tag keep-client .
- name: Create test results directory
run: |
mkdir -p $GITHUB_WORKSPACE/test-results/
mkdir test-results
- name: Run Go tests
run: |
docker run \
--volume $GITHUB_WORKSPACE/test-results:/mnt/test-results \
--workdir /go/src/github.com/keep-network/keep-core \
go-build-env \
gotestsum --junitfile /mnt/test-results/unit-tests.xml
- name: Publish Unit Test results
- name: Publish unit test results
uses: EnricoMi/[email protected]
if: always() # guarantees that this action always runs, even if earlier steps fail
with:
Expand Down

0 comments on commit 0504b8c

Please sign in to comment.