From 88173c5270684cc1d19d4863eded6c35ddd17e19 Mon Sep 17 00:00:00 2001 From: skudasov Date: Wed, 4 Sep 2024 12:38:33 +0200 Subject: [PATCH] fix docker test paths --- .github/workflows/docker-test.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-test.yaml b/.github/workflows/docker-test.yaml index d4864137e..c163c08a7 100644 --- a/.github/workflows/docker-test.yaml +++ b/.github/workflows/docker-test.yaml @@ -10,9 +10,6 @@ jobs: if: ${{ github.event_name == 'pull_request_review' || github.event.label.name == 'docker_tests' }} runs-on: ubuntu-latest name: Docker Test ${{ matrix.test.name }} - defaults: - run: - working-directory: lib strategy: fail-fast: false matrix: @@ -29,13 +26,15 @@ jobs: - name: Install Go uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/setup-go@e29366cdecfe6befff9ab8c3cfe4825218505d58 # v2.3.16 with: - test_download_vendor_packages_command: go mod download - go_mod_path: ./go.mod + test_download_vendor_packages_command: cd lib && go mod download + go_mod_path: ./lib/go.mod cache_key_id: ctf-go cache_restore_only: 'false' - name: Install gotestloghelper - run: cd lib && make gotestloghelper_build + working-directory: lib + run: make gotestloghelper_build - name: Run Tests + working-directory: lib run: | PATH=$PATH:$(go env GOPATH)/bin export PATH @@ -48,4 +47,4 @@ jobs: uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: test-logs - path: ./logs + path: ./lib/logs