-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add public-ui-test suite, add ui tests into github actions (#739)
Signed-off-by: Ondrej Dockal <[email protected]>
- Loading branch information
Showing
5 changed files
with
663 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,11 +42,28 @@ jobs: | |
run: npm run vscode:prepublish | ||
|
||
# Run tests | ||
- name: Run Test | ||
- name: Run Tests | ||
uses: GabrielBB/[email protected] | ||
with: | ||
run: npm test --silent | ||
|
||
# Run UI tests | ||
- name: Run UI Tests | ||
uses: GabrielBB/[email protected] | ||
with: | ||
run: npm run public-ui-test | ||
options: -screen 0 1920x1080x24 | ||
|
||
# Archiving integration tests artifacts | ||
- name: Upload test artifacts | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: artifacts-${{ matrix.os }} | ||
path: | | ||
test-resources/screenshots/*.png | ||
retention-days: 2 | ||
|
||
# Upload coverage to codecov.io | ||
- name: Codecov | ||
uses: codecov/[email protected] | ||
|
Oops, something went wrong.