From 06fbdc0bdf8133d6ae3ca1efce21c59b3320c387 Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Tue, 4 Feb 2025 17:38:26 -0500 Subject: [PATCH 1/3] Make changes to regression.yml --- .github/workflows/regression.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index dd69c29409..ad93fb90af 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -21,10 +21,11 @@ on: jobs: regression: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: [ubuntu-latest, macos-latest] CI_NODE_INDEX: [0, 1, 2, 3, 4] steps: @@ -32,6 +33,14 @@ jobs: with: fetch-depth: 0 + - name: Set up firefox for macos + if: matrix.os == 'macos-latest' + run: | + brew install firefox + # Install GNU grep to use 'grep -P' + brew install grep + echo "/opt/homebrew/opt/grep/libexec/gnubin" >> $GITHUB_PATH + - name: Set up Node.js uses: actions/setup-node@v4 with: From 7a979c2fadfdb788207881df80351955634ef004 Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Tue, 4 Feb 2025 17:44:51 -0500 Subject: [PATCH 2/3] Trigger tests run on regression.yml update (may be temporary) --- scripts/regression-tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/regression-tests.sh b/scripts/regression-tests.sh index b35ede6fd6..8997be2a3f 100755 --- a/scripts/regression-tests.sh +++ b/scripts/regression-tests.sh @@ -17,7 +17,9 @@ EXAMPLE_INFRA=$(echo "$EXAMPLE_DIRS" | grep -P '^(js|css)$') PACKAGE_UPDATE=$(git diff --name-only $COMMIT_RANGE | grep -P 'package(-lock)?\.json') -if [[ $TEST_INFRA || $EXAMPLE_INFRA || $PACKAGE_UPDATE ]] +REGRESSION_WORKFLOW_UPDATE=$(git diff --name-only $COMMIT_RANGE | grep -P '.github/workflows/regression.yml') + +if [[ $TEST_INFRA || $EXAMPLE_INFRA || $PACKAGE_UPDATE || $REGRESSION_WORKFLOW_UPDATE ]] then # If the example/js or example/css directories or the test/index.js or the test/utils.js From 69936949dbb25fecf262d6e9aad0f2cff36e9f6f Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Tue, 4 Feb 2025 17:45:51 -0500 Subject: [PATCH 3/3] Force trigger --- .github/workflows/regression.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index ad93fb90af..f643007b19 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -26,6 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] + CI_NODE_INDEX: [0, 1, 2, 3, 4] steps: