Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: run test suite on windows #1542

Merged
merged 3 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/changelogensets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ concurrency:
jobs:
update-changelog:
if: github.repository_owner == 'nuxt' && !contains(github.event.head_commit.message, 'v1.')
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
danielroe marked this conversation as resolved.
Show resolved Hide resolved

steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ permissions: {}

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: corepack enable
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:

- run: pnpm dev:prepare
- run: pnpm lint
- run: pnpm test -- --coverage
- run: pnpm test
- run: pnpm build
- run: pnpm test:types
- run: pnpm dev:build
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reproduction-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ permissions:

jobs:
stale:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
danielroe marked this conversation as resolved.
Show resolved Hide resolved
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reproduction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ permissions:

jobs:
reproduire:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
danielroe marked this conversation as resolved.
Show resolved Hide resolved
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: Hebilicious/reproduire@4b686ae9cbb72dad60f001d278b6e3b2ce40a9ac # v0.0.9-mp
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"lint": "eslint .",
"prepack": "pnpm build",
"release": "pnpm test && pnpm build && changelogen --release --push && npm publish",
"test": "nuxi prepare playground && pnpm vitest run",
"test": "nuxi prepare playground && pnpm vitest run --coverage",
"test:types": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck example"
},
"dependencies": {
Expand Down
Loading