Skip to content

Commit

Permalink
core: ensure minimal build time for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prokolyvakis committed Nov 8, 2023
1 parent 3e86e03 commit 9dc3c3a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install dependencies
run: |
pdm install && pdm install -G test
pdm install -G test
- name: Run test suite
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py
Please run:

```bash
pdm install
pdm install -G core
```

**Note**: If you want to run the tests or the experiments, please install the additional dependencies, i.e., `test` and `exps`, respectively, using the following command:
Expand Down
4 changes: 2 additions & 2 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dependencies = [
"scikit-learn>=1.2.2",
"scipy>=1.9.3",
"setuptools>=67.7.2",
"torch>=2.0.0",
]
requires-python = ">=3.9"
readme = "README.md"
Expand All @@ -27,7 +28,9 @@ url = "https://download.pytorch.org/whl/cpu/torch_stable.html"
name = "torch"

[tool.pdm.dev-dependencies]
core = []
test = [
"docopt>=0.6.2",
"mypy>=1.2.0",
"plotly>=5.14.1",
"pylint>=2.17.2",
Expand All @@ -39,7 +42,6 @@ exps = [
"pillow>=9.5.0",
"plotly>=5.14.1",
"setuptools-rust>=1.6.0",
"torch>=2.0.0",
"torchvision>=0.15.2",
"transformers>=4.28.1",
"umap-learn>=0.5.3",
Expand Down

0 comments on commit 9dc3c3a

Please sign in to comment.