diff --git a/.github/workflows/certification.yml b/.github/workflows/certification.yml index 09fa7d6bd..763553805 100644 --- a/.github/workflows/certification.yml +++ b/.github/workflows/certification.yml @@ -150,8 +150,6 @@ jobs: run: shell: bash needs: generate-matrix - env: - PROJECT_PATH: ./src/github.com/dapr/components-contrib strategy: fail-fast: false # Keep running even if one component fails @@ -173,10 +171,9 @@ jobs: echo "CHECKOUT_REF=${{ github.event.client_payload.pull_head_ref }}" >> $GITHUB_ENV fi - - name: Check out code onto GOPATH + - name: Check out code uses: actions/checkout@v2 with: - path: ${{ env.PROJECT_PATH }} repository: ${{ env.CHECKOUT_REPO }} ref: ${{ env.CHECKOUT_REF }} @@ -188,7 +185,7 @@ jobs: - name: Configure certification test and source path run: | TEST_COMPONENT=$(echo ${{ matrix.component }} | sed -E 's/\./\//g') - export TEST_PATH="${PROJECT_PATH}/tests/certification/${TEST_COMPONENT}" + export TEST_PATH="tests/certification/${TEST_COMPONENT}" echo "TEST_PATH=$TEST_PATH" >> $GITHUB_ENV export SOURCE_PATH="github.com/dapr/components-contrib/${TEST_COMPONENT}" echo "SOURCE_PATH=$SOURCE_PATH" >> $GITHUB_ENV diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml index 075e22db3..5c9dd1f27 100644 --- a/.github/workflows/conformance.yml +++ b/.github/workflows/conformance.yml @@ -169,10 +169,7 @@ jobs: defaults: run: shell: bash - working-directory: ${{ env.PROJECT_PATH }} needs: generate-matrix - env: - PROJECT_PATH: ./src/github.com/dapr/components-contrib strategy: fail-fast: false # Keep running even if one component fails @@ -200,7 +197,6 @@ jobs: - name: Check out code onto GOPATH uses: actions/checkout@v2 with: - path: ${{ env.PROJECT_PATH }} repository: ${{ env.CHECKOUT_REPO }} ref: ${{ env.CHECKOUT_REF }} @@ -460,8 +456,6 @@ jobs: else echo "1" >> "tmp/result_files/${{ matrix.component }}.txt" fi - ls -al tmp/ - ls -al tmp/*/ - name: Upload result files uses: actions/upload-artifact@v3 @@ -501,3 +495,5 @@ jobs: with: name: result_files path: tmp/result_files + + - name: Build \ No newline at end of file