fix test imports

This commit is contained in:
Steve Chan
2025-08-08 14:25:18 +00:00
committed by Ishaan Mathur
parent 99d867c427
commit b2e5a5674b
3 changed files with 2114 additions and 236 deletions

View File

@@ -32,7 +32,7 @@ jobs:
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Check formatting and typing
run: pixi run lint
run: pixi run lint-all
test-esm:
@@ -50,7 +50,7 @@ jobs:
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
- name: Run tests
run: pixi run test
run: pixi run cov-test
- name: Run Docker tests
env:

2337
pixi.lock

File diff suppressed because it is too large Load Diff

View File

@@ -35,6 +35,7 @@ dependencies = [
"attrs",
"pandas",
"cloudpathlib",
"httpx",
"tenacity",
"zstd"
]
@@ -69,12 +70,14 @@ build-wheel = "python -m pip wheel --no-deps -w dist ."
upload-wheel = "python -m twine upload --repository pypi"
[tool.pixi.feature.dev.dependencies]
pytest = "*"
matplotlib = "*"
pre-commit = "*"
pytest = "*"
"seaborn" = "*"
[tool.pixi.feature.dev.tasks]
lint = "pre-commit --all-files --show-diff-on-failure"
test = "pytest -v --junitxml=pytest.xml | tee pytest-coverage.txt"
lint-all = "pre-commit run --all-files --show-diff-on-failure"
cov-test = "pytest -v --junitxml=pytest.xml | tee pytest-coverage.txt"
[tool.pixi.environments]
default = {features = [], solve-group = "default"}