Skip to content

Commit 9899a57

Browse files
committed
Make 'npm run test:rust' work out-of-the-box
1 parent 8fb1563 commit 9899a57

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.env.development

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ VITE_KC_SITE_BASE_URL=https://dev.zoo.dev
77
VITE_KC_SITE_APP_URL=https://app.dev.zoo.dev
88
VITE_KC_SKIP_AUTH=false
99
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!
1110
#VITE_KC_DEV_TOKEN="your token from dev.zoo.dev should go in .env.development.local"
1211

12+
RUST_BACKTRACE="full"
13+
PYO3_PYTHON=/usr/local/bin/python3
14+
#KITTYCAD_API_TOKEN="your token from dev.zoo.dev should go in .env.development.local"
15+
1316
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)