Skip to content

Commit cf31989

Browse files
committed
Specifies full checkout for CircleCI
Ensures that the CircleCI job performs a full checkout of the repository. This prevents potential issues caused by shallow clones, where only the most recent commit is checked out, potentially missing necessary history.
1 parent e4fbdfa commit cf31989

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
docker:
5151
- image: cimg/python:3.9
5252
steps:
53-
- checkout
53+
- checkout:
54+
method: full
5455
- python-test-install
5556
- setup-artifacts
5657
- python-lint

acai_aws/common/schema.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def __combine_all_of(self, spec, spec_key, combined_spec):
8080
if isinstance(all_of, dict) and all_of.get('required'):
8181
combined['required'] += all_of['required']
8282
if combined['properties']:
83-
del combined_spec['allOf']
83+
if 'allOf' in combined_spec:
84+
del combined_spec['allOf']
8485
combined_spec.update(combined)
8586

8687
def __iter_spec_list(self, spec, spec_key, combined_spec):

0 commit comments

Comments
 (0)