Skip to content

Set up running Puppeteer tests for the Dart Debug Extension on CI #40

Set up running Puppeteer tests for the Dart Debug Extension on CI

Set up running Puppeteer tests for the Dart Debug Extension on CI #40

Workflow file for this run

name: Dart Debug Extension 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_mv2.dart --no-retry --platform vm
working-directory: dwds