Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
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
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ jobs:
include:
- os: ubuntu-latest
- os: namespace-profile-mac-default
- os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -166,15 +167,23 @@ jobs:

- name: Run CLI lint
run: pnpm lint
if: ${{ matrix.os != 'windows-latest' }}

- name: Install Playwright browsers
run: pnpx playwright install chromium

- name: Run CLI E2E tests
if: ${{ matrix.os != 'windows-latest' }}
run: |
RUST_BACKTRACE=1 pnpm test
git diff --exit-code

- name: Run CLI E2E tests
if: ${{ matrix.os == 'windows-latest' }}
run: |
RUST_BACKTRACE=1 pnpm -r snap-test
Comment thread
branchseer marked this conversation as resolved.
git diff --exit-code

install-e2e-test:
name: vite install E2E test
# FIXME: Error: spawnSync esbuild ENOTSOCK
Expand Down
71 changes: 43 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ tokio = "1.48.0"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "serde"] }
vite_error = { path = "crates/vite_error" }
vite_glob = { git = "https://github.com/voidzero-dev/vite-task", rev = "ba48c0edb8700c26363b89812be1f93940947efc" }
vite_glob = { git = "https://github.com/voidzero-dev/vite-task", branch = "11-08-feat_handle_echo_as_shell_built-in" }
vite_install = { path = "crates/vite_install" }
vite_path = { git = "https://github.com/voidzero-dev/vite-task", rev = "ba48c0edb8700c26363b89812be1f93940947efc" }
vite_str = { git = "https://github.com/voidzero-dev/vite-task", rev = "ba48c0edb8700c26363b89812be1f93940947efc" }
vite_task = { git = "https://github.com/voidzero-dev/vite-task", rev = "ba48c0edb8700c26363b89812be1f93940947efc" }
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task", rev = "ba48c0edb8700c26363b89812be1f93940947efc" }
vite_path = { git = "https://github.com/voidzero-dev/vite-task", branch = "11-08-feat_handle_echo_as_shell_built-in" }
vite_str = { git = "https://github.com/voidzero-dev/vite-task", branch = "11-08-feat_handle_echo_as_shell_built-in" }
vite_task = { git = "https://github.com/voidzero-dev/vite-task", branch = "11-08-feat_handle_echo_as_shell_built-in" }
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task", branch = "11-08-feat_handle_echo_as_shell_built-in" }
wax = "0.6.0"

napi = { version = "3.0.0", default-features = false, features = ["async", "error_anyhow"] }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests-todo/test-panicked-fix/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/builtin-different-cwd/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/cache-clean/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/check-oxlint-env/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/command-dev-with-port/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/command-doc/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/command-helper/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/command-lib/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/exit-code/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/snap-tests/fingerprint-ignore-test/steps.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"ignoredPlatforms": ["linux"],
"ignoredPlatforms": ["linux", "win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
1 change: 1 addition & 0 deletions packages/cli/snap-tests/ignore_dist/steps.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"ignoredPlatforms": ["win32"],
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
Expand Down
Loading
Loading