-
Notifications
You must be signed in to change notification settings - Fork 78
37 lines (30 loc) · 940 Bytes
/
material.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Material
on: pull_request
jobs:
tests:
name: Visual tests
runs-on: ubuntu-latest
if: github.repository_owner == 'vaadin'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Setup Node 14.x
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile --no-progress --non-interactive
- name: Visual tests
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: yarn test:material
- uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: screenshots
path: |
packages/*/test/visual/material/screenshots/*/failed/*.png
packages/vaadin-material-styles/test/visual/screenshots/failed/*.png