Skip to content

Commit

Permalink
add optional deps set logging = ["wandb>=0.17"] and install in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Jun 12, 2024
1 parent 4140672 commit 265fb60
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -38,7 +38,7 @@ jobs:
python setup.py build_ext --inplace
uv pip install -e .[test] --system --resolution=${{ matrix.version.resolution }}
uv pip install -e .[test,logging] --system --resolution=${{ matrix.version.resolution }}
- name: Run Tests
run: pytest --capture=no --cov --cov-report=xml
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ coverage.xml
.ipynb_checkpoints
bond_graph_error.cif
test.py

# training logs
wandb
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ test = ["pytest-cov>=4", "pytest>=8"]
# needed to run interactive example notebooks
examples = ["crystal-toolkit>=2023.11.3", "pandas>=2.2"]
docs = ["lazydocs>=0.4"]
logging = ["wandb>=0.17"]

[project.urls]
Source = "https://github.com/CederGroupHub/chgnet"
Expand Down

0 comments on commit 265fb60

Please sign in to comment.