From 77ef7b0dcd41f24ce2e05ad8a55ad8afeaa643a3 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 21 Sep 2022 00:12:37 +0800 Subject: [PATCH] [fix] workflow test-widgets evn --- .github/workflows/pr-test.yml | 3 ++- .github/workflows/unit-test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index f5983e75..8b3dc137 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -228,8 +228,9 @@ jobs: make test - name: Run widgets test + env: + YAO_ROOT: ${{ env.DEMO_APP }} run: | - echo "YAO_ROOT=$DEMO_APP" >> $GITHUB_ENV make test-widgets - name: Codecov Report diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 65f100d4..8b8567cc 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -183,8 +183,9 @@ jobs: make test - name: Run widgets test + env: + YAO_ROOT: ${{ env.DEMO_APP }} run: | - echo "YAO_ROOT=$DEMO_APP" >> $GITHUB_ENV make test-widgets - name: Codecov Report