chore: use shared test run id (#24448)
This commit is contained in:
Родитель
c8f2fc392a
Коммит
216d08ba94
|
@ -30,6 +30,7 @@ jobs:
|
|||
PLAYWRIGHT_SERVICE_ACCESS_KEY: ${{ secrets.PLAYWRIGHT_SERVICE_ACCESS_KEY }}
|
||||
PLAYWRIGHT_SERVICE_URL: ${{ secrets.PLAYWRIGHT_SERVICE_URL }}
|
||||
PLAYWRIGHT_SERVICE_OS: ${{ matrix.service-os }}
|
||||
PLAYWRIGHT_SERVICE_RUN_ID: ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.sha }}
|
||||
- name: Upload blob report to GitHub
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
@ -54,7 +54,7 @@ const reporters = () => {
|
|||
};
|
||||
|
||||
const os: 'linux' | 'windows' = (process.env.PLAYWRIGHT_SERVICE_OS as 'linux' | 'windows') || 'linux';
|
||||
const runId = new Date().toISOString(); // name the test run
|
||||
const runId = process.env.PLAYWRIGHT_SERVICE_RUN_ID || new Date().toISOString(); // name the test run
|
||||
|
||||
let connectOptions: any;
|
||||
if (mode === 'service')
|
||||
|
|
Загрузка…
Ссылка в новой задаче