mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
ci: upload test artifacts (#42925)
* Upload test-artifacts directory * Rename test artifacts directory to avoid conflicts * Update .gitignore * Upload test artifacts * Update .gitignore * Update move-artifacts.sh * Update artifacts.ts * Update pipeline-segment-electron-test.yml * Make output less noisy * reduce artifact image size
This commit is contained in:
@@ -187,10 +187,17 @@ jobs:
|
||||
runuser -u builduser -- xvfb-run script/actions/run-tests.sh script/yarn test --runners=main --trace-uncaught --enable-logging --files $tests_files
|
||||
fi
|
||||
fi
|
||||
- name: Upload Test Artifacts
|
||||
if: always() && !cancelled()
|
||||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
|
||||
with:
|
||||
name: test_artifacts_${{ env.ARTIFACT_KEY }}
|
||||
path: src/electron/spec/artifacts
|
||||
if-no-files-found: ignore
|
||||
- name: Wait for active SSH sessions
|
||||
if: always() && !cancelled()
|
||||
run: |
|
||||
while [ -f /var/.ssh-lock ]
|
||||
do
|
||||
sleep 60
|
||||
done
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user