Changed paths

Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
ItalyPaleAle 2022-10-05 21:32:23 +00:00
parent 2b7a10f1d0
commit 25020bf3d7
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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