Skip to content

Commit

Permalink
Circle Config Fixes (demisto#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
avidan-H authored Jul 6, 2020
1 parent 8246785 commit 42c75f9
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ references:
requires:
- checkout-content

restore_cache: &restore_cache
restore_cache:
key: tox-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "tox.ini" }}

jobs:
print-env-vars:
docker:
Expand All @@ -41,7 +37,6 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- run:
name: Tox build
command: |
Expand All @@ -54,10 +49,7 @@ jobs:
paths:
- coverage_html_report
- .coverage
- save_cache:
paths:
- .tox
key: tox-{{ checksum "requirements.txt" }}-{{ checksum "requirements-dev.txt" }}-{{ checksum "tox.ini" }}
tox3-8:
docker:
- image: python:3.8
Expand All @@ -73,7 +65,8 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- attach_workspace:
at: ~/project
- run:
name: Pre-commit
command: |
Expand Down Expand Up @@ -102,7 +95,8 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- attach_workspace:
at: ~/project
- run:
name: Checkout the Content Repo
command: |
Expand All @@ -119,7 +113,6 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- attach_workspace:
at: ~/project
- run:
Expand Down Expand Up @@ -149,7 +142,6 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- attach_workspace:
at: ~/project
- run:
Expand All @@ -169,7 +161,6 @@ jobs:
- image: python:3.8
steps:
- checkout
- *restore_cache
- attach_workspace:
at: ~/project
- run:
Expand Down

0 comments on commit 42c75f9

Please sign in to comment.