File: functional-tests.yml

package info (click to toggle)
node-popper2 2.11.2-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,752 kB
  • sloc: javascript: 23,558; makefile: 20
file content (28 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (3)
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
name: Update Storyshots
on: [workflow_dispatch]
env:
  CI: true
  PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
  PUPPETEER_EXEC_PATH: google-chrome-stable

jobs:
  functional-chromium:
    name: Chromium Functional Tests
    runs-on: ubuntu-latest
    container:
      image: ianwalter/puppeteer:3.0.0
      options: --shm-size=1g
    steps:
      - uses: actions/checkout@v2
      - uses: CultureHQ/actions-yarn@master
        with:
          args: install
      - run: yarn test:functional -u
        env:
          PUPPETEER_BROWSER: chromium
      - uses: EndBug/add-and-commit@v7
        with:
          add: 'tests/functional/__image_snapshots__/*'
          author_name: 'GitHub Actions'
          author_email: 'github-actions@github.com'
          message: 'test: update snapshot tests'