Skip to content

Commit ae3faa7

Browse files
authored
⚙️ fix the release CI (#52)
### Description Fix the CD workflow ### Test Coverage <!-- Please put an `x` in the correct box e.g. `[x]` to indicate the testing coverage of this change. --> - [ ] This change is covered by existing or additional automated tests. - [ ] Manual testing has been performed (and evidence provided) as automated testing was not feasible. - [x] Additional tests are not required for this change (e.g. documentation update).
1 parent 0641c1f commit ae3faa7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: GitHub Release
22

33
env:
4-
pipenv_version: 2021.5.29 # FIXME upgrade pipenv when https://github.com/pypa/pipenv/issues/4430 is actually fixed
4+
pipenv_version: 2022.11.25
5+
python_version: '3.10'
56

67
on:
78
workflow_dispatch:
@@ -17,17 +18,21 @@ jobs:
1718
steps:
1819
- uses: actions/checkout@v3
1920
- uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ env.python_version }}
2023
- name: Determine dependencies
2124
# Note
2225
# The below code generates a pip requirements file from the pipenv development requirements (also obtaining the
2326
# normal dependencies from setup.py).
2427
# This code also forces the system to install latest tools as the ones present on the CI system may be too old
2528
# for the process to go through properly.
26-
# FIXME upgrade pipenv when https://github.com/pypa/pipenv/issues/4430 is actually fixed
29+
2730
run: |
2831
python -m pip install --upgrade pip wheel setuptools
2932
python -m pip install pipenv==${{ env.pipenv_version }}
30-
python -m pipenv lock --dev -r > dev-requirements.txt
33+
echo "Locking dependencies"
34+
python -m pipenv lock
35+
python -m pipenv requirements > dev-requirements.txt
3136
- uses: FranzDiebold/github-env-vars-action@v2
3237
- name: Load Python Dependencies from cache
3338
uses: actions/cache@v3

news/202212011822.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:gear: Fixed the CI release process

0 commit comments

Comments
 (0)