Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Python versions in Conda tests #459

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p ${{matrix.python}} -e all requirements-test.txt lenskit/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p ${{matrix.python}} -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down Expand Up @@ -381,7 +381,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-implicit/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p ${{matrix.python}} -e all requirements-test.txt lenskit/pyproject.toml lenskit-implicit/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down Expand Up @@ -489,7 +489,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-hpf/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p ${{matrix.python}} -e all requirements-test.txt lenskit/pyproject.toml lenskit-hpf/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down Expand Up @@ -539,7 +539,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p 3.10 -e all requirements-test.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
- name: 👢 Generate Conda environment file
run: |
pip install -e .
python -m lkdev.conda -o ci-environment.yml -e all requirements-test.txt requirements-demo.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml
python -m lkdev.conda -o ci-environment.yml -p 3.10 -e all requirements-test.txt requirements-demo.txt lenskit/pyproject.toml lenskit-funksvd/pyproject.toml lenskit-implicit/pyproject.toml
- id: setup
name: 📦 Set up Conda environment
uses: mamba-org/setup-micromamba@v1
Expand Down
2 changes: 1 addition & 1 deletion lkdev/workflows/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def job_strategy(options: JobOptions) -> dict[str, Any]:


def steps_setup_conda(options: JobOptions) -> list[GHStep]:
ctool = ["python -m lkdev.conda", "-o", "ci-environment.yml"]
ctool = ["python -m lkdev.conda", "-o", "ci-environment.yml", "-p", options.python_version]
if options.extras:
for e in options.extras:
ctool += ["-e", e]
Expand Down
Loading