Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ version: 2.0

build_and_test: &build_and_test_steps
- checkout
- run: sudo pip install --upgrade pip
- run: sudo pip install pytest -r requirements.txt
- run: pip install --user .
- run: python --version ; pip --version ; pwd ; ls -l
# Do not use `sudo pip`
# pipx is already installed but `pipx list` is empty
- run: python --version ; pip --version ; pipx --version ; pwd ; ls -l
- run: pip install pytest -r requirements.txt
- run: pip install --editable .
- run: pytest


jobs:
StyleCheck:
docker:
- image: circleci/python:3.10
- image: cimg/python:3.11
steps:
- checkout
- run: sudo pip install black codespell flake8
- run: python --version ; pip --version ; pwd ; ls -l
- run: pip install black codespell flake8 ruff
- run: codespell -L queenland,uint
# stop the build if there are Python syntax errors or undefined names
- run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
Expand All @@ -27,7 +28,7 @@ jobs:

Python3:
docker:
- image: circleci/python:3.10
- image: cimg/python:3.11
steps: *build_and_test_steps


Expand Down