Skip to content

Commit d0685e3

Browse files
committed
CircleCI: Test on Python 3.11
1 parent ccef488 commit d0685e3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.circleci/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ version: 2.0
22

33
build_and_test: &build_and_test_steps
44
- checkout
5-
- run: sudo pip install --upgrade pip
6-
- run: sudo pip install pytest -r requirements.txt
7-
- run: pip install --user .
8-
- run: python --version ; pip --version ; pwd ; ls -l
5+
# Do not use `sudo pip`
6+
# pipx is already installed but `pipx list` is empty
7+
- run: python --version ; pip --version ; pipx --version ; pwd ; ls -l
8+
- run: pip install pytest -r requirements.txt
9+
- run: pip install --editable .
910
- run: pytest
1011

1112

1213
jobs:
1314
StyleCheck:
1415
docker:
15-
- image: circleci/python:3.10
16+
- image: cimg/python:3.11
1617
steps:
1718
- checkout
18-
- run: sudo pip install black codespell flake8
1919
- run: python --version ; pip --version ; pwd ; ls -l
20+
- run: pip install black codespell flake8 ruff
2021
- run: codespell -L queenland,uint
2122
# stop the build if there are Python syntax errors or undefined names
2223
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
@@ -27,7 +28,7 @@ jobs:
2728

2829
Python3:
2930
docker:
30-
- image: circleci/python:3.10
31+
- image: cimg/python:3.11
3132
steps: *build_and_test_steps
3233

3334

0 commit comments

Comments
 (0)