From c5e70d52c75dbbecef2b8a4c66b8e921e006cf0d Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 6 Feb 2024 07:16:20 -0800 Subject: [PATCH 1/2] Test dart2wasm --- .github/workflows/test-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 18edae7..9d3171a 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -62,3 +62,7 @@ jobs: - name: Run Chrome tests run: dart test --platform chrome if: always() && steps.install.outcome == 'success' + - name: Run Chrome tests - wasm + run: dart test --platform chrome --compiler dart2wasm + # TODO: drop `dev` filter when dart2wasm is working on stable + if: always() && steps.install.outcome == 'success' && matrix.sdk == 'dev' From f73baa142c470c27fe366db5654ca33ce432c536 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 8 Feb 2024 15:11:24 -0800 Subject: [PATCH 2/2] -j 1 on wasm for now --- .github/workflows/test-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 9d3171a..8b4af12 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -63,6 +63,7 @@ jobs: run: dart test --platform chrome if: always() && steps.install.outcome == 'success' - name: Run Chrome tests - wasm - run: dart test --platform chrome --compiler dart2wasm + # TODO: investigate why we get hangs when concurrency is > 1 + run: dart test --platform chrome --compiler dart2wasm -j 1 # TODO: drop `dev` filter when dart2wasm is working on stable if: always() && steps.install.outcome == 'success' && matrix.sdk == 'dev'