Skip to content

Commit 5a2d4af

Browse files
authored
Pin CI to Python 3.11 (#51)
Workaround for #50. I don't know why mypy is failing, but I will fix that in an upcoming PR.
1 parent ec4aa83 commit 5a2d4af

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: actions/setup-python@v2
1515
with:
16-
python-version: "3.x"
16+
python-version: "3.11"
1717
- run: python -m pip install tox
1818
- run: tox -e check_codestyle
1919

@@ -25,9 +25,7 @@ jobs:
2525
- uses: actions/checkout@v2
2626
- uses: actions/setup-python@v2
2727
with:
28-
# We're testing Python 3.10 specifically (instead of 3.x) for this job because
29-
# python-olm does not have wheels for Python 3.11 yet.
30-
python-version: "3.10"
28+
python-version: "3.11"
3129
- run: python -m pip install tox
3230
- run: tox -e check_types
3331

@@ -38,7 +36,7 @@ jobs:
3836
matrix:
3937
# Run the unit tests both against our oldest supported Python version
4038
# and the newest stable.
41-
python_version: [ "3.8", "3.x" ]
39+
python_version: [ "3.8", "3.11" ]
4240
steps:
4341
- run: sudo apt-get install -y libolm-dev libmagic1
4442
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)