Skip to content

Commit

Permalink
chore(bidi): upload report.csv to azure
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-s committed Dec 21, 2024
1 parent cce8e8e commit 6548b39
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/tests_bidi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,18 @@ jobs:
name: csv-report-${{ matrix.channel }}
path: test-results/report.csv
retention-days: 7

- name: Azure Login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_BLOB_REPORTS_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_BLOB_REPORTS_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_BLOB_REPORTS_SUBSCRIPTION_ID }}

- name: Upload report.csv to Azure
run: |
REPORT_DIR='csv-report-${{ matrix.channel }}-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}-${{ github.sha }}'
azcopy cp "./test-results/report.csv" "https://mspwblobreport.blob.core.windows.net/\$web/$REPORT_DIR/test-results/report.csv"
echo "Report url: https://mspwblobreport.z1.web.core.windows.net/$REPORT_DIR/test-results/report.csv"
env:
AZCOPY_AUTO_LOGIN_TYPE: AZCLI

0 comments on commit 6548b39

Please sign in to comment.