Skip to content

Commit

Permalink
Update snapshots (#4788)
Browse files Browse the repository at this point in the history
* Update snapshots

* Update to use textual-snapshot v1.0.0

* Dont use xdist on CI

* Update pytest-cov to fix warnings

* Remove xdist thing from pythonpackage.yml GitHub workflow
  • Loading branch information
darrenburns authored Jul 25, 2024
1 parent 988c4b3 commit 5966bf3
Show file tree
Hide file tree
Showing 309 changed files with 49,787 additions and 51,300 deletions.
6 changes: 3 additions & 3 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/ -vv
$(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/ -vv -m "not integration_test"
$(run) pytest --cov-report term-missing --cov=textual tests/ -m "not integration_test" -n 16 --dist=loadgroup $(ARGS)

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

.PHONY: coverage
coverage:
Expand Down
124 changes: 64 additions & 60 deletions poetry.lock

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

9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ include = [
"Bug Tracker" = "https://github.com/Textualize/textual/issues"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8.1"
markdown-it-py = { extras = ["plugins", "linkify"], version = ">=2.1.0" }
rich = ">=13.3.3"
#rich = {path="../rich", develop=true}
Expand All @@ -64,15 +64,16 @@ mkdocstrings = { extras = ["python"], version = "^0.20.0" }
mkdocstrings-python = "0.10.1"
mypy = "^1.0.0"
pre-commit = "^2.13.0"
pytest = "^7.1.3"
pytest = "^8.3.1"
pytest-xdist = "^3.6.1"
pytest-asyncio = "*"
pytest-cov = "^2.12.1"
pytest-textual-snapshot = ">=0.4.0"
pytest-cov = "^5.0.0"
textual-dev = "^1.2.0"
types-setuptools = "^67.2.0.1"
types-tree-sitter = "^0.20.1.4"
types-tree-sitter-languages = "^1.7.0.1"
isort = "^5.13.2"
pytest-textual-snapshot = "^1.0.0"

[tool.pytest.ini_options]
asyncio_mode = "auto"
Expand Down
Loading

0 comments on commit 5966bf3

Please sign in to comment.