Skip to content
Closed
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
23 changes: 9 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
version: 2.1

build_and_test: &build_and_test_steps
- checkout
# 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:
pre-commit:
docker:
- image: cimg/python:3.11
- image: cimg/python:3.14
steps:
- checkout
# pipx is already installed, but `pipx list` is empty
- run: python --version ; pip --version ; pipx --version ; pwd ; ls -l
- run: pipx run pre-commit run --all-files --show-diff-on-failure

pytest:
docker:
- image: cimg/python:3.13
steps: *build_and_test_steps

- image: cimg/python:3.14
steps:
- checkout
- run: pip install pytest -r requirements.txt
- run: pip install --editable .
- run: pytest

workflows:
build:
Expand Down