From 68ab83f7178031c606ec1dfcc599efbc805a7a35 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 14 Oct 2024 13:06:55 +0100 Subject: [PATCH 1/3] ci: run test suite on windows --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ba776191..5820e87ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: run: pnpm test:types - name: ๐Ÿงช Test project - run: pnpm test -- --coverage + run: pnpm test - name: ๐ŸŸฉ Coverage uses: codecov/codecov-action@v4 diff --git a/package.json b/package.json index b2cd1fdbe..bfc1b8fd5 100755 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "lint": "eslint --fix .", "prepublishOnly": "pnpm test", "release": "bumpp && npm publish", - "test": "pnpm lint && pnpm vitest run", + "test": "pnpm lint && pnpm vitest run --coverage", "test:types": "vue-tsc --noEmit", "test:unit": "vitest run test/unit/*.test.*", "test:e2e": "vitest run test/e2e/*.test.*" From 25dc7dc46ab4c3b1e94174d163acdeb8db55e696 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 14 Oct 2024 13:13:35 +0100 Subject: [PATCH 2/3] chore: update matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5820e87ee..905013bd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, windows-latest] node: [18] steps: From 1febbc9661ae513e749613e5791720ff06b8a41f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 10 Nov 2024 20:20:53 +0000 Subject: [PATCH 3/3] ci: no coverage on windows --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 905013bd2..9025a51d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,7 @@ jobs: run: pnpm test - name: ๐ŸŸฉ Coverage + if: matrix.os != 'windows-latest' uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}