From 732f0877ac1ef7397e039961b879d02766fe64cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Mon, 18 Dec 2023 22:44:07 +0100 Subject: [PATCH] fi --- .github/actions/deploy-tests-report/action.yml | 2 +- .github/workflows/langchain-master-daily.yml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/actions/deploy-tests-report/action.yml b/.github/actions/deploy-tests-report/action.yml index afc3b9955..08bba8c9e 100644 --- a/.github/actions/deploy-tests-report/action.yml +++ b/.github/actions/deploy-tests-report/action.yml @@ -44,4 +44,4 @@ runs: git push origin gh-pages git checkout "${{ github.ref }}" - git stash pop \ No newline at end of file + git stash pop || true diff --git a/.github/workflows/langchain-master-daily.yml b/.github/workflows/langchain-master-daily.yml index 6deee2313..664ffa4a6 100644 --- a/.github/workflows/langchain-master-daily.yml +++ b/.github/workflows/langchain-master-daily.yml @@ -104,11 +104,10 @@ jobs: - name: Prepare report for Github Pages if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') run: | - echo "

LangChain master branch (${{ matrix.name }}) $(date)

" > report-file.html + echo "

$(date '+%Y-%m-%d')

" > report-file.html echo "Commit: ${{ steps.commit-ref.outputs.commit-ref }}
" >> report-file.html - echo "Test logs" >> report-file.html - echo "

" >> report-file.html - cat ragstack-e2e-tests/langchain-tests-report.txt >> report-file.html + echo "
" >> report-file.html + sed -i 's/$/
/' ragstack-e2e-tests/langchain-tests-report.txt >> report-file.html - name: Upload report to Github Pages if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')