diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 816580f7a1..48a007e552 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -24,43 +24,19 @@ jobs: --tag keep-client . - name: Create and enter test results directory 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 + mkdir -p $GITHUB_WORKSPACE/test-results/ - name: Run Go tests run: | docker run \ - --volume /tmp/test-results/keep-core-go:/mnt/test-results \ + --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: 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 with: github_token: ${{ secrets.GITHUB_TOKEN }} - files: unit-tests.xml - check_name: Go Test Results # name under which test results will be presented in GitHub (optional) \ No newline at end of file + files: ./test-results/unit-tests.xml + check_name: Go Test Results # name under which test results will be presented in GitHub (optional) + comment_on_pr: false # turns off commenting on Pull Requests \ No newline at end of file