Skip to content

Commit

Permalink
Merge pull request #3386 from uktrade/fix/linting-python-version
Browse files Browse the repository at this point in the history
Fix linting, python version (bump py3.9 to py3.10) and clearing cache
  • Loading branch information
JamesPRobinson authored Dec 4, 2024
2 parents 9cb31cb + 310fe3d commit c4077ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

docker-test-unit:
docker:
- image: cimg/python:3.9
- image: cimg/python:3.10.16
parallelism: 4
steps:
- checkout
Expand All @@ -55,7 +55,7 @@ jobs:

docker-test-integration:
docker:
- image: cimg/python:3.9
- image: cimg/python:3.10.16
parallelism: 4
steps:
- checkout
Expand All @@ -79,21 +79,21 @@ jobs:

check-linting:
docker:
- image: cimg/python:3.9
- image: cimg/python:3.10.16
resource_class: small
steps:
- checkout
- restore_cache:
keys:
- v3.9-python-{{ checksum "requirements-dev.txt" }}-v5
- v3.10.16-python-{{ checksum "requirements-dev.txt" }}-v6
- run:
name: Install requirements
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements-dev.txt
- save_cache:
key: v3.9-python-{{ checksum "requirements-dev.txt" }}-v5
key: v3.10.6-python-{{ checksum "requirements-dev.txt" }}-v6
paths:
- "venv"
- run:
Expand Down

0 comments on commit c4077ce

Please sign in to comment.