Skip to content

Commit 731d154

Browse files
authored
Merge pull request #151 from LeapBeyond/update_python_versions
Update python versions used in CI/CD
2 parents 6af7f04 + 9a32550 commit 731d154

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/unittests.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.9, 3.8, 3.7, 3.6]
18+
python-version: ["3.11", "3.10", "3.9", "3.8"]
1919

2020
env:
2121
PREFIX: /home/runner/prefix
@@ -26,15 +26,15 @@ jobs:
2626
CPP_INCLUDE_PATH: /home/runner/prefix/include
2727

2828
steps:
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v2
31+
uses: actions/setup-python@v4
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

3535
- name: Install apt dependencies
3636
run: |
37-
sudo apt-get update && sudo apt-get install -y curl autoconf automake libtool pkg-config default-jre
37+
sudo apt-get update && sudo apt-get install -y curl autoconf automake libtool pkg-config default-jre python3-dev
3838
3939
- name: Cache restore libpostal
4040
id: cache-libpostal
@@ -58,8 +58,6 @@ jobs:
5858
with:
5959
path: ~/.cache/pip
6060
key: ${{ runner.os }}-pip-${{ hashFiles('requirements/python*') }}
61-
restore-keys: |
62-
${{ runner.os }}-pip-
6361

6462
- name: Install pip dependencies
6563
run: |

0 commit comments

Comments
 (0)