Skip to content

Commit

Permalink
Use Python 3.10.14 image in CircleCI and "burst" cache.
Browse files Browse the repository at this point in the history
See [CircleCI docs](https://circleci.com/developer/images/image/cimg/python) for more information on the change in image tag.
  • Loading branch information
oliverjwroberts committed Aug 12, 2024
1 parent 84cba9c commit 454897b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2.1
jobs:
build:
docker:
- image: circleci/python:3.9.7
- image: cimg/python:3.10.14
- image: postgres:16
environment:
POSTGRES_DB: dnb-service
Expand All @@ -25,9 +25,9 @@ jobs:
# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements-dev.txt" }}
- v2-dependencies-{{ checksum "requirements-dev.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- v2-dependencies-

- run:
name: install dependencies
Expand All @@ -39,7 +39,7 @@ jobs:
- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements-dev.txt" }}
key: v2-dependencies-{{ checksum "requirements-dev.txt" }}

- run:
name: run tests
Expand Down

0 comments on commit 454897b

Please sign in to comment.