Skip to content

Commit

Permalink
build(micromamba): setup micromamba with flags
Browse files Browse the repository at this point in the history
A bit cleaner, supportted by the more recent version of @thewtex/setup-micromamba.

Also shorted the environment name.
  • Loading branch information
thewtex committed Jan 2, 2024
1 parent b3ab1a7 commit fe3c51d
Show file tree
Hide file tree
Showing 3 changed files with 973 additions and 972 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: itk-viewer-test
name: itk-viewer
channels:
- conda-forge
dependencies:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"build": "pnpm -r build",
"lint": "pnpm prettier --check . && pnpm eslint .",
"lint:fix": "pnpm prettier --write . && pnpm eslint --fix .",
"setup-micromamba": "MICROMAMBA_ROOT_PATH=micromamba CREATE_ENVIRONMENT=true ENVIRONMENT_FILE=environment.yml LOG_LEVEL=info setup-micromamba",
"start-hypha": "pnpm setup-micromamba && ./micromamba/micromamba run -r micromamba -n itk-viewer-test hypha --host=127.0.0.1 --port=37580",
"setup-micromamba": "setup-micromamba --micromamba-binary-path ./micromamba/micromamba --micromamba-root-path ./micromamba --init-shell none --create-environment true --environment-file environment.yml --log-level info --run-command \"clean -fya\"",
"start-hypha": "pnpm setup-micromamba && ./micromamba/micromamba run -r micromamba -n itk-viewer hypha --host=127.0.0.1 --port=37580",
"test": "pnpm test:downloadData && concurrently -n \"hypha,cypress\" --success first -k \"pnpm start-hypha\" \"pnpm cy:component\"",
"test:ci": "pnpm test:downloadData && pnpm cy:component:ci",
"test:downloadData": "node test/downloadData.mjs",
Expand Down
Loading

0 comments on commit fe3c51d

Please sign in to comment.