Skip to content

Commit

Permalink
fi
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Dec 18, 2023
1 parent be33075 commit 732f087
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy-tests-report/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ runs:
git push origin gh-pages
git checkout "${{ github.ref }}"
git stash pop
git stash pop || true
7 changes: 3 additions & 4 deletions .github/workflows/langchain-master-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ jobs:
- name: Prepare report for Github Pages
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
run: |
echo "<h2> LangChain master branch (${{ matrix.name }}) $(date) </h2>" > report-file.html
echo "<h3><a href=\"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\">$(date '+%Y-%m-%d')</a></h3>" > report-file.html
echo "Commit: <a href=\"https://github.com/langchain-ai/langchain/commits/${{ steps.commit-ref.outputs.commit-ref }}\">${{ steps.commit-ref.outputs.commit-ref }}</a><br>" >> report-file.html
echo "<a href=\"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\">Test logs</a>" >> report-file.html
echo "<br><br>" >> report-file.html
cat ragstack-e2e-tests/langchain-tests-report.txt >> report-file.html
echo "<br>" >> report-file.html
sed -i 's/$/<br>/' 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')
Expand Down

0 comments on commit 732f087

Please sign in to comment.