Skip to content

[Draft] Puppeteer tests on CI #27

[Draft] Puppeteer tests on CI

[Draft] Puppeteer tests on CI #27

Workflow file for this run

name: Puppeteer tests
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Run tests ${{matrix.sdk}} on ${{matrix.os}}
runs-on: macos-latest
steps:
- name: Set up Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- id: checkout
name: Checkout repository
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
- name: Get deps for dwds
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds
- name: Get deps for debug extension
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: dwds/debug_extension_mv3
- name: Download Chromium
run: dart test/puppeteer/download_chromium.dart
working-directory: dwds
- name: Run Puppeteer tests
run: dart test test/puppeteer/extension_test.dart --no-retry --platform vm
working-directory: dwds