Skip to content

Commit

Permalink
ci: debug windows failures
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Jan 13, 2023
1 parent 8104f1f commit b60b12d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 68 deletions.
69 changes: 2 additions & 67 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,6 @@ env:
VITEST_SEGFAULT_RETRY: 3

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install
run: pnpm i

- name: Lint
run: pnpm run lint

typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install
run: pnpm i

- name: Build
run: pnpm run build

- name: Typecheck
run: pnpm run typecheck

test:
runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -88,29 +47,5 @@ jobs:
run: pnpm run build

- name: Test
run: pnpm run test:ci

- name: Test Single Thread
run: pnpm run test:ci:single-thread

test-ui:
runs-on: ubuntu-latest

timeout-minutes: 10

steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.16

- name: Install
run: pnpm i

- name: Test UI
run: pnpm run ui:test
working-directory: test/coverage-test
run: pnpm run test:types
2 changes: 1 addition & 1 deletion test/coverage-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vitest/test-coverage",
"private": true,
"scripts": {
"test": "pnpm run test:c8 && pnpm run test:istanbul && pnpm run test:types",
"test": "pnpm run test:types",
"test:c8": "node ./testing.mjs --provider c8",
"test:istanbul": "node ./testing.mjs --provider istanbul",
"test:types": "vitest typecheck --run"
Expand Down

0 comments on commit b60b12d

Please sign in to comment.