Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,28 @@ pub enum SortBy {
}
```

## Tests

To run all tests, use:
```bash
pixi run test
```
But if you have modified recipe data under the tests/data/channels directory, you need to update the test channel before running tests:
```bash
pixi run update-test-channel <channel_name>
```
> [!NOTE]
> This task currently only works on unix systems. If you are on Windows, it is recommended to use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install).

For example, if you modified data for dummy_channel_1:
```bash
pixi run update-test-channel dummy_channel_1
```
After updating the test channel, run the tests again:
```
pixi run test
```

## CLI documentation
The CLI reference is automatically generated from the code documentation of CLI commands under `src/cli`.

Expand Down
Loading
Loading