Skip to content

Commit

Permalink
Add test for procrastinate
Browse files Browse the repository at this point in the history
  • Loading branch information
apeschar committed Sep 21, 2023
1 parent 4b0019e commit 7fd1fc8
Show file tree
Hide file tree
Showing 4 changed files with 280 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ in
gitlint = callTest ./gitlint { };
jupyter-ydoc = callTest ./jupyter-ydoc { };
mutmut = callTest ./mutmut { };
procrastinate = callTest ./procrastinate { };
rasterio = callTest ./rasterio { };
scientific = callTest ./scientific { };
scipy1_9 = callTest ./scipy1_9 { };
Expand Down
11 changes: 11 additions & 0 deletions tests/procrastinate/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
poetry2nix,
runCommand,
}: let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "procrastinate-test" {} ''
${env}/bin/procrastinate --version > $out
''
255 changes: 255 additions & 0 deletions tests/procrastinate/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/procrastinate/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "procrastinate-test"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.8"
procrastinate = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 7fd1fc8

Please sign in to comment.