Skip to content
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
CIRCLE_JOB is the new CIRCLE_STAGE
  • Loading branch information
PeterJCLaw committed Sep 24, 2022
commit ae37ef68955a8bd9e3e0a2ff1249d22528e5329a
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ references:
restore-build-dependency-cache: &restore-build-dependency-cache
restore_cache:
name: Restore build dependency cache
key: deps-venv-1-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum ".circleci/requirements.txt" }}
key: deps-venv-1-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum ".circleci/requirements.txt" }}

install-build-dependencies: &install-build-dependencies
run:
Expand All @@ -35,7 +35,7 @@ references:
save-build-dependency-cache: &save-build-dependency-cache
save_cache:
name: Save build dependency cache
key: deps-venv-1-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum ".circleci/requirements.txt" }}
key: deps-venv-1-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum ".circleci/requirements.txt" }}
paths:
- "venv"

Expand Down Expand Up @@ -70,15 +70,15 @@ references:
done
- restore_cache:
name: Restore .tox cache
key: deps-tox-1-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum ".checksum" }}
key: deps-tox-1-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum ".checksum" }}
- run:
name: Test
command: |
. venv/bin/activate
tox
- save_cache:
name: Save .tox cache
key: deps-tox-1-{{ .Branch }}-{{ .Environment.CIRCLE_STAGE }}-{{ checksum ".checksum" }}
key: deps-tox-1-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum ".checksum" }}
paths:
- ".tox"

Expand Down