Skip to content

Commit

Permalink
Create demo environment on the fly
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Nov 10, 2023
1 parent b06950b commit 7147f99
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 175 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ jobs:
with:
fetch-depth: 0

- name: Create Conda environment file
run: |
pipx run pyproject2conda yaml -p 3.10 -e test -e demo -o environment.yml
- name: 👢 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
id: setup
with:
environment-file: envs/lenskit-py3.10-demo-ci.yaml
environment-file: environment.yml
environment-name: lkpy
cache-environment: true
init-shell: bash
Expand Down
33 changes: 0 additions & 33 deletions envs/lenskit-py3.10-demo-ci.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions envs/lenskit-py3.10-demo.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions envs/lenskit-py3.10-sklearn.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions envs/lenskit-py3.11-demo-ci.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions envs/lenskit-py3.11-demo.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions envs/lenskit-py3.11-sklearn.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ exclude = [
[tool.pyproject2conda]
channels = ["conda-forge"]
python = ["3.10", "3.11"]
default_envs = ["test", "sklearn", "doc", "demo"]
default_envs = ["test", "doc"]
template_python = "envs/lenskit-py{py_version}-{env}"
template = "envs/{env}"
deps = ["tbb"]
Expand All @@ -99,6 +99,3 @@ extras = ["dev", "test", "doc", "demo", "sklearn"]

[tool.pyproject2conda.envs.ci]
extras = ["test", "sklearn"]

[tool.pyproject2conda.envs.demo-ci]
extras = ["test", "demo"]

0 comments on commit 7147f99

Please sign in to comment.