Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,24 @@ jobs:
name: allure-report-${{ github.run_number }}
path: test/e2e/allure-report
retention-days: 30

- name: Set timestamp
id: timestamp
run: echo "TIMESTAMP=$(date +%Y%m%d_%H%M%S_%3N)" >> $GITHUB_ENV

- name: Pushes to reports repository
if: always()
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.BOT_TOKEN }}
with:
source-directory: 'test/e2e/allure-report'
destination-github-username: 'cloudinary-devs'
destination-repository-name: 'cld-vscode-test-allure-reports'
user-email: ''
target-branch: main
target-directory: 'allure-report_ts_${{ env.TIMESTAMP }}'

- name: Write URL in summary
if: always()
run: echo "### Test results https://jubilant-broccoli-www5lem.pages.github.io/allure-report_ts_${{ env.TIMESTAMP }}" >> $GITHUB_STEP_SUMMARY
Loading