Skip to content

Commit

Permalink
ci: Erlaube parallele Ausführung der Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxG87 committed Dec 15, 2023
2 parents ba8c332 + 64f1ec6 commit d2030de
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(CACHEDIR):


$(CACHEDIR)/run-undockered-tests: | $(CACHEDIR)
poetry run pytest
poetry run pytest -n $$(nproc)
touch $@

$(CACHEDIR)/run-%-tests: | $(CACHEDIR)/%-test-image
Expand Down
36 changes: 35 additions & 1 deletion poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pytest-cov = "^3.0.0"
mypy = "^1.4.1"
black = "^23.7.0"
ruff = "^0.0.278"
pytest-xdist = "^3.5.0"

[tool.poetry.scripts]
butter-backup = "butter_backup.cli:cli"
Expand Down

0 comments on commit d2030de

Please sign in to comment.