Skip to content

Commit

Permalink
Update docs/design_proposals/multi_environment_proposal.md
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zwerschke <[email protected]>
  • Loading branch information
ruben-arts and pavelzw authored Dec 26, 2023
1 parent 4c80789 commit 764c9a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/design_proposals/multi_environment_proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,9 @@ pixi run test
test = "pytest --md=report.md"

[environments]
default = ["test", {environment = "prod"}] # implicit ["default", "test"], overrides default environment
prod = [] # implicit for ["default"]
# both default and prod will have exactly the same dependency versions when they share a dependency
default = {features = ["test"], solve-group = "prod-group"}
prod = {features = [], solve-group = "prod-group"}
```
In ci you would run the following commands:
```shell
Expand Down

0 comments on commit 764c9a5

Please sign in to comment.