Skip to content

Commit

Permalink
DEV: don't bundle tests in SDist + update pytest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Sep 11, 2024
1 parent 27fa141 commit 46c9508
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install -c .github/test-constraints.txt '.[test]'
- run: pytest --pyargs glass
- run: pytest -v

build:
name: Build
Expand Down
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,19 @@ version.source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "glass/_version.py"

[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
]
testpaths = [
"tests",
]
log_cli_level = "DEBUG"
filterwarnings = [
"ignore::DeprecationWarning",
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 46c9508

Please sign in to comment.