Compare commits
1 commit
c6f3fb26a9
...
a088057b17
| Author | SHA1 | Date | |
|---|---|---|---|
| a088057b17 |
2 changed files with 19 additions and 21 deletions
|
|
@ -21,6 +21,3 @@ jobs:
|
|||
|
||||
- name: Test with PyTest
|
||||
run: nix develop .#impure --command bash -c "uv run pytest --junit-xml test-report.xml"
|
||||
|
||||
- name: Check with PyRight
|
||||
run: nix develop .#impure --command bash -c "uv run pyright"
|
||||
|
|
|
|||
|
|
@ -88,9 +88,11 @@
|
|||
# Package a virtual environment as our main application.
|
||||
#
|
||||
# Enable no optional dependencies for production build.
|
||||
packages.x86_64-linux = let
|
||||
packages.x86_64-linux =
|
||||
let
|
||||
streamer = pythonSet.mkVirtualEnv "streamer-env" workspace.deps.default;
|
||||
in {
|
||||
in
|
||||
{
|
||||
inherit streamer;
|
||||
default = streamer;
|
||||
};
|
||||
|
|
@ -116,8 +118,7 @@
|
|||
pre-commit
|
||||
bashInteractive
|
||||
];
|
||||
env =
|
||||
{
|
||||
env = {
|
||||
# Prevent uv from managing Python downloads
|
||||
UV_PYTHON_DOWNLOADS = "never";
|
||||
# Force uv to use nixpkgs Python interpreter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue