Skip to content

Commit

Permalink
fix conda environment creation
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Oct 26, 2024
1 parent 2c046ac commit b6cd966
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
activate-environment: true
environments: 'test-${{matrix.python}}-core'
cache-write: false
locked: false
frozen: true
- name: "🔍 Inspect environment"
run: |
python -m lenskit.util.envcheck
Expand Down Expand Up @@ -241,6 +243,8 @@ jobs:
activate-environment: true
environments: 'test-${{matrix.python}}-funksvd'
cache-write: false
locked: false
frozen: true
- name: "🔍 Inspect environment"
run: |
python -m lenskit.util.envcheck
Expand Down Expand Up @@ -328,6 +332,8 @@ jobs:
activate-environment: true
environments: 'test-${{matrix.python}}-implicit'
cache-write: false
locked: false
frozen: true
- name: "🔍 Inspect environment"
run: |
python -m lenskit.util.envcheck
Expand Down Expand Up @@ -415,6 +421,8 @@ jobs:
activate-environment: true
environments: 'test-${{matrix.python}}-hpf'
cache-write: false
locked: false
frozen: true
- name: "🔍 Inspect environment"
run: |
python -m lenskit.util.envcheck
Expand Down Expand Up @@ -449,6 +457,8 @@ jobs:
activate-environment: true
environments: test-py311-full
cache-write: false
locked: false
frozen: true
- name: Cache ML data
uses: actions/cache@v4
with:
Expand Down Expand Up @@ -490,6 +500,8 @@ jobs:
activate-environment: true
environments: test-examples
cache-write: false
locked: false
frozen: true
- name: Cache ML data
uses: actions/cache@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions workflows/test/conda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export function condaSetup(options: CondaTestOpts): WorkflowStep[] {
"activate-environment": true,
"environments": env,
"cache-write": false,
locked: false,
frozen: true,
},
},
];
Expand Down

0 comments on commit b6cd966

Please sign in to comment.