File tree Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Expand file tree Collapse file tree 2 files changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -36,20 +36,12 @@ jobs:
36
36
virtualenvs-create : true
37
37
virtualenvs-in-project : true
38
38
39
- - name : Load cached venv
40
- id : cached-poetry-dependencies
41
- uses : actions/cache@v4
42
- with :
43
- path : .venv
44
- key : venv-${{ runner.os }}-v1-${{ hashFiles('**/poetry.lock') }}
39
+ - name : Load existing venv
40
+ run : poetry env use /opt/venv/bin/python
45
41
46
42
- name : Install dependencies
47
- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
48
43
run : poetry install --no-root --only main,test
49
44
50
- - name : Install stormpy manually
51
- run : poetry run pip install /opt/stormpy
52
-
53
45
- name : Install pre-commit
54
46
run : pip install pre-commit==${{ env.PRECOMMIT_VERSION }}
55
47
Original file line number Diff line number Diff line change @@ -36,15 +36,10 @@ jobs:
36
36
virtualenvs-create : true
37
37
virtualenvs-in-project : true
38
38
39
- - name : Load cached venv
40
- id : cached-poetry-dependencies
41
- uses : actions/cache@v4
42
- with :
43
- path : .venv
44
- key : venv-${{ runner.os }}-v1-${{ hashFiles('**/poetry.lock') }}
39
+ - name : Load existing venv
40
+ run : poetry env use /opt/venv/bin/python
45
41
46
42
- name : Install dependencies
47
- if : steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
48
43
run : poetry install --no-root --only main,test
49
44
50
45
- name : Install stormpy manually
You can’t perform that action at this time.
0 commit comments