From eb421f02e5bb4c8b5b34f6c5ae31ad0fdd222ee7 Mon Sep 17 00:00:00 2001 From: Vitaliy Potapov Date: Mon, 11 Dec 2023 13:13:06 +0400 Subject: [PATCH] run all tests on win --- .github/workflows/test-win.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-win.yaml b/.github/workflows/test-win.yaml index 768558cb..7e97cb2f 100644 --- a/.github/workflows/test-win.yaml +++ b/.github/workflows/test-win.yaml @@ -23,15 +23,17 @@ jobs: with: node-version: 20 - run: npm ci - - run: npm install @playwright/test@1.36 @cucumber/cucumber@${{ matrix.cucumberVersion }} + - run: npm install @cucumber/cucumber@${{ matrix.cucumberVersion }} - run: npx playwright install --with-deps chromium - name: run tests run: | + # node test/setup.mjs + # node test/bdd-syntax/test.mjs + # node test/snippets-playwright-style/test.mjs + # this command gets all test files in powershell node test/setup.mjs - node test/bdd-syntax/test.mjs - node test/snippets-playwright-style/test.mjs - # this command gets all test files in powershell - # node --test $(Get-ChildItem -Path test -Recurse -Include test.mjs).FullName + node --test test/**/test.mjs + # node --test $(Get-ChildItem -Path test -Recurse -Include test.mjs).FullName - uses: actions/upload-artifact@v3 if: always() with: