Skip to content

Commit

Permalink
refactor(ci): remove pytest xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-awd committed Oct 30, 2023
1 parent 4acf52b commit 95f3280
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ COPY monopoly ./monopoly
COPY tests ./tests
RUN poetry install

CMD ["python", "-m", "poetry", "run", "task", "full_test"]
CMD ["python", "-m", "poetry", "run", "task", "test"]

FROM base AS runtime

Expand Down
34 changes: 0 additions & 34 deletions poetry.lock

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

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ isort = "^5.12.0"
taskipy = "^1.12.0"
flake8 = "^6.1.0"
pytest = "^7.4.1"
pytest-xdist = "^3.3.1"
pysnooper = "^1.2.0"
pylint-pydantic = "^0.3.0"
mypy = "^1.6.1"
Expand All @@ -35,7 +34,7 @@ mypy = "^1.6.1"
[tool.taskipy.tasks]
format = "isort . && black ."
lint = "flake8 monopoly && pylint monopoly"
full_test = "pytest -n auto"
test = "pytest ."
mypy = "mypy monopoly"
ci = "poetry run task format && poetry run task lint && poetry run task test"

Expand Down

0 comments on commit 95f3280

Please sign in to comment.