Skip to content

Commit

Permalink
Merge pull request #4843 from Textualize/makefile-change
Browse files Browse the repository at this point in the history
Dont run coverage by default on make test
  • Loading branch information
willmcgugan authored Aug 5, 2024
2 parents 901d31c + abe0e7a commit 5472c18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ run := poetry run

.PHONY: test
test:
$(run) pytest --cov-report term-missing --cov=textual tests/ -n 16 --dist=loadgroup $(ARGS)

.PHONY: unit-test
unit-test:
$(run) pytest --cov-report term-missing --cov=textual tests/ -m "not integration_test" -n 16 --dist=loadgroup $(ARGS)
$(run) pytest tests/ -n 16 --dist=loadgroup $(ARGS)

.PHONY: test-snapshot-update
test-snapshot-update:
$(run) pytest --cov-report term-missing --cov=textual tests/ --snapshot-update -n 16 --dist=loadgroup $(ARGS)
$(run) pytest tests/ --snapshot-update -n 16 --dist=loadgroup $(ARGS)

.PHONY: test-coverage
test-coverage:
$(run) pytest tests/ --cov-report term-missing --cov=textual -n 16 --dist=loadgroup $(ARGS)

.PHONY: coverage
coverage:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--strict-markers"
markers = [
"integration_test: marks tests as slow integration tests (deselect with '-m \"not integration_test\"')",
"syntax: marks tests that require syntax highlighting (deselect with '-m \"not syntax\"')",
]

Expand Down

0 comments on commit 5472c18

Please sign in to comment.