spectron testing on github actions
added screenshot capture after tests
This commit is contained in:
parent
0d210abdd1
commit
e6eed0d4bb
4 changed files with 29 additions and 0 deletions
14
.github/workflows/nodejs.yml
vendored
14
.github/workflows/nodejs.yml
vendored
|
|
@ -34,6 +34,13 @@ jobs:
|
|||
# echo "::set-env name=CSC_KEY_PASSWORD::${{ secrets.MAC_CERT_P12_PASSWORD }}"
|
||||
- name: Build
|
||||
run: yarn run dist --publish=never
|
||||
- name: Test Spectron
|
||||
run: yarn run test:spectron
|
||||
- name: Archive Spectron test screenshot
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: spectron
|
||||
path: dist/tmp/darwin_test.png
|
||||
- name: Get macOS Artifact Names
|
||||
id: getmacosfilename
|
||||
run: |
|
||||
|
|
@ -135,6 +142,13 @@ jobs:
|
|||
# env:
|
||||
#CSC_LINK: ${{ secrets.WIN_CERT_P12_BASE64 }}
|
||||
#CSC_KEY_PASSWORD: ${{ secrets.WIN_CERT_P12_PASSWORD }}
|
||||
- name: Test Spectron
|
||||
run: yarn run test:spectron
|
||||
- name: Archive Spectron test screenshot
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: spectron
|
||||
path: dist/tmp/win32_test.png
|
||||
- name: Get Windows Artifact Names
|
||||
id: getwindowsfilename
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue