checksum lockfile, instead of Pipfile

pull/175/head
Kieran Prasch 2018-06-26 00:30:17 -07:00
parent a6740fe6ae
commit c0d0848c61
1 changed files with 7 additions and 7 deletions

View File

@ -25,14 +25,14 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python36 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python36
- run: - run:
name: Install Python dependencies with Pipenv name: Install Python dependencies with Pipenv
command: pipenv install --three --dev command: pipenv install --three --dev
- save_cache: - save_cache:
paths: paths:
- "~/.local/share/virtualenvs/" - "~/.local/share/virtualenvs/"
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python36 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python36
bundle_dependencies-35: bundle_dependencies-35:
working_directory: ~/pyUmbral-35 working_directory: ~/pyUmbral-35
@ -41,14 +41,14 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python35 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python35
- run: - run:
name: Install Python dependencies with Pipenv name: Install Python dependencies with Pipenv
command: pipenv install --three --dev command: pipenv install --three --dev
- save_cache: - save_cache:
paths: paths:
- "~/.local/share/virtualenvs/" - "~/.local/share/virtualenvs/"
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python35 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python35
run_tests-36: run_tests-36:
working_directory: ~/pyUmbral-36 working_directory: ~/pyUmbral-36
@ -57,7 +57,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python36 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python36
- run: - run:
name: pyUmbral Tests (Python 3.6) name: pyUmbral Tests (Python 3.6)
command: pipenv run pytest --cov=. --cov-report=html --junitxml=./reports/pytest/python36-results.xml command: pipenv run pytest --cov=. --cov-report=html --junitxml=./reports/pytest/python36-results.xml
@ -73,7 +73,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python35 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python35
- run: - run:
name: pyUmbral Tests (Python 3.5) name: pyUmbral Tests (Python 3.5)
command: pipenv run pytest --cov=. --cov-report=html --junitxml=./reports/pytest/python35-results.xml command: pipenv run pytest --cov=. --cov-report=html --junitxml=./reports/pytest/python35-results.xml
@ -89,7 +89,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: deps-{{ .Branch }}-{{ checksum "Pipfile" }}-Python36 key: deps-{{ .Branch }}-{{ checksum "Pipfile.lock" }}-Python36
- run: - run:
name: Install Profiling Tools name: Install Profiling Tools
command: | command: |