mirror of
https://github.com/evolutionaryscale/esm.git
synced 2026-06-04 17:14:23 +08:00
disable pixi cache, pytest coverage properly
This commit is contained in:
committed by
Ishaan Mathur
parent
9cf5e015db
commit
6d29d92681
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -32,9 +32,7 @@ jobs:
|
||||
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
||||
|
||||
- name: Check formatting and typing
|
||||
run: |
|
||||
set -e
|
||||
pixi run lint-all
|
||||
run: pixi run lint-all
|
||||
|
||||
|
||||
test-esm:
|
||||
@@ -52,9 +50,7 @@ jobs:
|
||||
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
set -e
|
||||
pixi run cov-test
|
||||
run: pixi run cov-test
|
||||
|
||||
- name: Run Docker tests
|
||||
env:
|
||||
|
||||
45
pixi.lock
45
pixi.lock
@@ -218,6 +218,7 @@ environments:
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/cmarkgfm-2024.11.20-py312h66e93f0_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/colorama-0.4.6-pyhd8ed1ab_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/contourpy-1.3.3-py312hd9148b4_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/coverage-7.10.2-py312h8a5da7c_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/cpython-3.12.9-py312hd8ed1ab_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/cryptography-44.0.2-py312hda17c39_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/cycler-0.12.1-pyhd8ed1ab_1.conda
|
||||
@@ -348,6 +349,7 @@ environments:
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/pyside6-6.9.0-py312h91f0f75_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pysocks-1.7.1-pyha55dd90_7.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pytest-8.4.1-pyhd8ed1ab_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pytest-cov-6.2.1-pyhd8ed1ab_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.12.9-h9e4cc4f_1_cpython.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/python-dateutil-2.9.0.post0-pyhe01879c_2.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/python-gil-3.12.9-hd8ed1ab_1.conda
|
||||
@@ -372,6 +374,7 @@ environments:
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/six-1.17.0-pyhe01879c_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/statsmodels-0.14.5-py312h8b63200_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h4845f30_101.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/toml-0.10.2-pyhd8ed1ab_1.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/tomli-2.2.1-pyhe01879c_2.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/tornado-6.5.1-py312h66e93f0_0.conda
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/twine-6.1.0-pyh29332c3_0.conda
|
||||
@@ -865,6 +868,21 @@ packages:
|
||||
- pkg:pypi/contourpy?source=compressed-mapping
|
||||
size: 291827
|
||||
timestamp: 1754063770363
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/coverage-7.10.2-py312h8a5da7c_0.conda
|
||||
sha256: 211754cf4be7ce64b11955509fcab60cd33090633c362d4aface4a5320adbf77
|
||||
md5: f8830a2249f4b8a5f9c33cb44ad5c31a
|
||||
depends:
|
||||
- __glibc >=2.17,<3.0.a0
|
||||
- libgcc >=14
|
||||
- python >=3.12,<3.13.0a0
|
||||
- python_abi 3.12.* *_cp312
|
||||
- tomli
|
||||
license: Apache-2.0
|
||||
license_family: APACHE
|
||||
purls:
|
||||
- pkg:pypi/coverage?source=hash-mapping
|
||||
size: 377963
|
||||
timestamp: 1754308562631
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/cpython-3.12.9-py312hd8ed1ab_1.conda
|
||||
noarch: generic
|
||||
sha256: 58a637bc8328b115c9619de3fcd664ec26662083319e3c106917a1b3ee4d7594
|
||||
@@ -977,7 +995,7 @@ packages:
|
||||
- pypi: ./
|
||||
name: esm
|
||||
version: 3.2.1
|
||||
sha256: 12aa537c769449af8db7d3bcbe48d17b745871f014bba3d7826688770faee298
|
||||
sha256: 8bf7da0d570fb088244c8ce31ae949a0da6409e924aa756929fe01266401cd0b
|
||||
requires_dist:
|
||||
- torch>=2.2.0
|
||||
- torchvision
|
||||
@@ -3148,6 +3166,20 @@ packages:
|
||||
- pkg:pypi/pytest?source=hash-mapping
|
||||
size: 276562
|
||||
timestamp: 1750239526127
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/pytest-cov-6.2.1-pyhd8ed1ab_0.conda
|
||||
sha256: 3a9fc07be76bc67aef355b78816b5117bfe686e7d8c6f28b45a1f89afe104761
|
||||
md5: ce978e1b9ed8b8d49164e90a5cdc94cd
|
||||
depends:
|
||||
- coverage >=7.5
|
||||
- pytest >=4.6
|
||||
- python >=3.9
|
||||
- toml
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
purls:
|
||||
- pkg:pypi/pytest-cov?source=hash-mapping
|
||||
size: 28216
|
||||
timestamp: 1749778064293
|
||||
- conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.12.9-h9e4cc4f_1_cpython.conda
|
||||
build_number: 1
|
||||
sha256: 77f2073889d4c91a57bc0da73a0466d9164dbcf6191ea9c3a7be6872f784d625
|
||||
@@ -3699,6 +3731,17 @@ packages:
|
||||
- setuptools-rust ; extra == 'docs'
|
||||
- tokenizers[testing] ; extra == 'dev'
|
||||
requires_python: '>=3.9'
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/toml-0.10.2-pyhd8ed1ab_1.conda
|
||||
sha256: 34f3a83384ac3ac30aefd1309e69498d8a4aa0bf2d1f21c645f79b180e378938
|
||||
md5: b0dd904de08b7db706167240bf37b164
|
||||
depends:
|
||||
- python >=3.9
|
||||
license: MIT
|
||||
license_family: MIT
|
||||
purls:
|
||||
- pkg:pypi/toml?source=hash-mapping
|
||||
size: 22132
|
||||
timestamp: 1734091907682
|
||||
- conda: https://conda.anaconda.org/conda-forge/noarch/tomli-2.2.1-pyhe01879c_2.conda
|
||||
sha256: 040a5a05c487647c089ad5e05ad5aff5942830db2a4e656f1e300d73436436f1
|
||||
md5: 30a0a26c8abccf4b7991d590fe17c699
|
||||
|
||||
@@ -73,11 +73,12 @@ upload-wheel = "python -m twine upload --repository pypi"
|
||||
matplotlib = "*"
|
||||
pre-commit = "*"
|
||||
pytest = "*"
|
||||
"seaborn" = "*"
|
||||
pytest-cov = "*"
|
||||
seaborn = "*"
|
||||
|
||||
[tool.pixi.feature.dev.tasks]
|
||||
lint-all = "pre-commit run --all-files --show-diff-on-failure"
|
||||
cov-test = "pytest -v --junitxml=pytest.xml | tee pytest-coverage.txt"
|
||||
cov-test = "pytest -v --junitxml=pytest.xml --cov=esm"
|
||||
|
||||
[tool.pixi.environments]
|
||||
default = {features = [], solve-group = "default"}
|
||||
|
||||
Reference in New Issue
Block a user