From 1c716773642b4f685604c7e14d4eb2af4f29fa2e Mon Sep 17 00:00:00 2001 From: Johannes Odland Date: Fri, 9 Feb 2024 15:30:53 +0100 Subject: [PATCH] Split test summary into CSS and WAAPI tests (#238) --- .github/workflows/gh-pages.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3eb820c..50ad805 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -56,7 +56,9 @@ jobs: - name: Expected results run: "npm run test:compare" - name: Test results summary - run: echo "Passed $(grep -c '^PASS' ./test/report/summary.txt) of $(grep -c '^' ./test/report/summary.txt) tests" >> $GITHUB_STEP_SUMMARY + run: | + echo "Passed $(grep '/css' ./test/report/summary.txt | grep -c '^PASS' ) of $(grep '/css' ./test/report/summary.txt | grep -c '^') css tests" >> $GITHUB_STEP_SUMMARY + echo "Passed $(grep -v '/css' ./test/report/summary.txt | grep -c '^PASS' ) of $(grep -v '/css' ./test/report/summary.txt | grep -c '^') waapi tests" >> $GITHUB_STEP_SUMMARY - name: Clean build files run: "rm -rf node_modules test/wpt" - name: Upload artifact