mirror of
https://github.com/evolutionaryscale/esm.git
synced 2026-06-04 17:14:23 +08:00
fix test imports
This commit is contained in:
committed by
Ishaan Mathur
parent
99d867c427
commit
b2e5a5674b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user