Skip to content

Commit c83f3b0

Browse files
committed
update github actions to using pipenv
1 parent 89a0d39 commit c83f3b0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
~/eggs
3030
~/downloads
3131
32-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
32+
key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }}
3333
restore-keys: |
3434
${{ runner.os }}-pip-
3535
@@ -51,9 +51,10 @@ jobs:
5151
5252
- name: Install dependencies
5353
run: |
54-
pip install -r requirements.txt
55-
pip install mr.bob
56-
pip install bobtemplates.plone==6.2
54+
pip install pipenv
55+
pipenv install
56+
pipenv install mr.bob
57+
pipenv install bobtemplates.plone==6.2
5758
5859
- name: Prepare and annotate buildout
5960
run: |
@@ -68,7 +69,7 @@ jobs:
6869
- name: Create addon and re-run buildout
6970
run: |
7071
mkdir src
71-
pip install tox
72+
pipenv install tox
7273
mrbob -O src/project.site --config $HOME/mrbob_answers.txt bobtemplates.plone:addon
7374
# add that package to buildout.cfg in eggs, testeggs, auto-checkout and [sources]
7475
sed -i "16i \ project.site" buildout.cfg

0 commit comments

Comments
 (0)