File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,22 @@ version: 2.0
22
33build_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
1213jobs :
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
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
You can’t perform that action at this time.
0 commit comments