Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Aug 16, 2024
1 parent b584fe3 commit bba2300
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr-examples-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ jobs:
env:
HUGGINGFACEHUB_API_TOKEN: ${{ secrets.HUGGINGFACEHUB_API_TOKEN }}
run: |
cd ../ && rm -rf GenAIExamples
git clone https://github.com/opea-project/GenAIExamples.git
cd ${{ github.workspace }}/GenAIExamples/ChatQnA/docker
cd GenAIExamples/ChatQnA/docker
cp -r ${{ github.workspace }}/../GenAIComps .
cd ${{ github.workspace }}/GenAIExamples/ChatQnA/tests
cd ../tests
sed -i '/GenAIComps.git/d' test_chatqna_on_gaudi.sh
cat test_chatqna_on_gaudi.sh
Expand All @@ -55,7 +56,7 @@ jobs:
- name: Clean up container
if: cancelled() || failure()
run: |
cd ${{ github.workspace }}/GenAIExamples/ChatQnA/docker/gaudi
cd ${{ github.workspace }}/../GenAIExamples/ChatQnA/docker/gaudi
docker compose stop && docker compose rm -f
docker system prune -f
Expand All @@ -64,4 +65,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: "Examples-Test-Logs"
path: ${{ github.workspace }}/GenAIExamples/ChatQnA/tests/*.log
path: ${{ github.workspace }}/../GenAIExamples/ChatQnA/tests/*.log

0 comments on commit bba2300

Please sign in to comment.