diff options
author | 2022-01-01 19:48:25 -0800 | |
---|---|---|
committer | 2022-01-01 19:48:25 -0800 | |
commit | a9483dd8dc612e8a08a025bd40b4a5d1b946e3ab (patch) | |
tree | ce836469401a9f68ba4a59556b816568ba739aec | |
parent | 5f2fb86a768123597b0dc52cccd7a429b55aa7d2 (diff) | |
download | bun-a9483dd8dc612e8a08a025bd40b4a5d1b946e3ab.tar.gz bun-a9483dd8dc612e8a08a025bd40b4a5d1b946e3ab.tar.zst bun-a9483dd8dc612e8a08a025bd40b4a5d1b946e3ab.zip |
Add `bun install` integration test
-rw-r--r-- | .github/workflows/bun.yml | 6 | ||||
-rw-r--r-- | Makefile | 10 |
2 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index c1b7edb4b..b9a78b336 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -79,6 +79,12 @@ jobs: BUN_TEST_NAME: test-bun-run GITHUB_WORKSPACE: $GITHUB_WORKSPACE run: bash .docker/runner.sh + - name: Run test-bun-install + env: + RUNNER_TEMP: ${RUNNER_TEMP} + BUN_TEST_NAME: test-bun-install + GITHUB_WORKSPACE: $GITHUB_WORKSPACE + run: bash .docker/runner.sh # This is commented out because zig test does not work on the CI # Which sucks # zig-unit-tests: @@ -553,7 +553,7 @@ mkdir-dev: test-install: cd integration/scripts && $(NPM_CLIENT) install -test-all: test-install test-with-hmr test-no-hmr test-create-next test-create-react test-bun-run +test-all: test-install test-with-hmr test-no-hmr test-create-next test-create-react test-bun-run test-bun-install copy-test-node-modules: rm -rf integration/snippets/package-json-exports/node_modules || echo ""; @@ -573,6 +573,12 @@ test-create-next: test-bun-run: cd integration/apps && BUN_BIN=$(RELEASE_BUN) bash ./bun-run-check.sh +test-bun-install: + cd integration/apps && JS_RUNTIME=$(RELEASE_BUN) NPM_CLIENT=$(RELEASE_BUN) bash ./bun-install.sh + +test-dev-bun-install: + cd integration/apps && JS_RUNTIME=$(DEBUG_BUN) NPM_CLIENT=$(DEBUG_BUN) bash ./bun-install.sh + test-create-react: BUN_BIN=$(RELEASE_BUN) bash integration/apps/bun-create-react.sh @@ -594,7 +600,7 @@ test-dev-no-hmr: copy-test-node-modules test-dev-bun-run: cd integration/apps && BUN_BIN=$(DEBUG_BUN) bash bun-run-check.sh -test-dev-all: test-dev-with-hmr test-dev-no-hmr test-dev-create-next test-dev-create-react test-dev-bun-run +test-dev-all: test-dev-with-hmr test-dev-no-hmr test-dev-create-next test-dev-create-react test-dev-bun-run test-dev-bun-install test-dev-bunjs: test-dev: test-dev-with-hmr |