Skip to content

Commit 94acb34

Browse files
committed
Make 'npm run test:rust' work out-of-the-box
1 parent 134ec63 commit 94acb34

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.env.development

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# DO NOT commit secrets, overrides go in the ignored `.env.development.local`
2+
13
NODE_ENV=development
24
DEV=true
35

@@ -7,7 +9,10 @@ VITE_KC_SITE_BASE_URL=https://dev.zoo.dev
79
VITE_KC_SITE_APP_URL=https://app.dev.zoo.dev
810
VITE_KC_SKIP_AUTH=false
911
VITE_KC_CONNECTION_TIMEOUT_MS=5000
10-
# ONLY add your token in .env.development.local if you want to skip auth, otherwise this token takes precedence!
11-
#VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local"
12+
#VITE_KC_DEV_TOKEN="optional token from dev.zoo.dev to skip auth in the app"
13+
14+
RUST_BACKTRACE="full"
15+
PYO3_PYTHON=/usr/local/bin/python3
16+
#KITTYCAD_API_TOKEN="required token from dev.zoo.dev for engine testing"
1217

1318
FAIL_ON_CONSOLE_ERRORS=true

.github/workflows/cargo-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,3 @@ jobs:
186186
env:
187187
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN_DEV}}
188188
ZOO_HOST: https://api.dev.zoo.dev
189-

rust/justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ redo-sim-tests:
5252
EXPECTORATE=overwrite TWENTY_TWENTY=overwrite {{cita}} {{kcl_lib_flags}} --no-quiet -- simulation_tests
5353

5454
test:
55-
export RUST_BRACKTRACE="full" && {{cnr}} --workspace --features artifact-graph --no-fail-fast
55+
cargo install cargo-nextest
56+
{{cnr}} --workspace --features artifact-graph --no-fail-fast
5657

5758
bump-kcl-crate-versions bump='patch':
5859
# First build the kcl-bumper tool.

0 commit comments

Comments
 (0)