Skip to content

Commit

Permalink
Run pytest test in parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Henri Rosten <[email protected]>
  • Loading branch information
henrirosten committed Jan 3, 2025
1 parent efc158b commit 454e7a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ pre-push: test check ## Run tests and flake checks
$(call target_success,$@)

test-ci: check ## Run CI tests
pytest -vx -k "not skip_in_ci" tests/
pytest -n auto -vx -k "not skip_in_ci" tests/
$(call target_success,$@)

check: clean
nix --extra-experimental-features 'flakes nix-command' flake check

test: ## Run tests
pytest -vx tests/
pytest -n auto -vx tests/
$(call target_success,$@)

release-asset: clean ## Build release asset
Expand Down
1 change: 1 addition & 0 deletions nix/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
[
jsonschema
pytest
pytest-xdist
]
++ prefix_path;

Expand Down

0 comments on commit 454e7a3

Please sign in to comment.