From ebd1a0ecd38f3005ed096eb75d95e709e4b5dcf9 Mon Sep 17 00:00:00 2001 From: Taku Amano Date: Wed, 6 Nov 2024 15:37:36 +0900 Subject: [PATCH] ci(deno): merge deno runtime coverage (#3632) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 687c3615..4daa0ea1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: - bun - fastly - node + - deno - workerd - lambda - lambda-edge @@ -80,6 +81,8 @@ jobs: - run: env NAME=Deno deno test --coverage=coverage/raw/deno-runtime --allow-read --allow-env --allow-write --allow-net -c runtime-tests/deno/deno.json runtime-tests/deno - run: deno test -c runtime-tests/deno-jsx/deno.precompile.json --coverage=coverage/raw/deno-precompile-jsx runtime-tests/deno-jsx - run: deno test -c runtime-tests/deno-jsx/deno.react-jsx.json --coverage=coverage/raw/deno-react-jsx runtime-tests/deno-jsx + - run: grep -R '"url":' coverage | grep -v runtime-tests | sed -e 's/.*file:..//;s/.,//' | xargs deno cache --unstable-sloppy-imports + - run: deno coverage --lcov > coverage/deno-runtime-coverage-lcov.info - uses: actions/upload-artifact@v4 with: name: coverage-deno