Skip to content

Commit 33d852d

Browse files
committed
fix(ci): use a python version closest to the one in production
Avoid python version mismatch that pulls incompatible dependencies in ci Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
1 parent 1cec251 commit 33d852d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Python 3
1212
uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.x'
14+
python-version: '3.8' # This is the closest available to 3.7
1515

1616
- name: Install dependencies
1717
run: |
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Python 3
3131
uses: actions/setup-python@v4
3232
with:
33-
python-version: '3.x'
33+
python-version: '3.8'
3434

3535
- name: Install dependencies
3636
run: |

dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coverage<7.11
1+
coverage
22
astroid
33
pylint
44
bitarray

0 commit comments

Comments
 (0)