Skip to content

Commit

Permalink
One checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Jun 3, 2019
1 parent 6617f89 commit a0e13cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ commands:
steps:
- restore_cached_venv:
venv_name: v1-pyspec-05
reqs_checksum: cache-v1-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }}
reqs_checksum: cache-v1-{{ checksum "deposit_contract/requirements-testing.txt" }}
save_default_cached_venv:
description: Save a venv into a cache with default keys"
steps:
- save_cached_venv:
venv_name: v1-pyspec-05
reqs_checksum: cache-v1-{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}-{{ checksum "deposit_contract/requirements-testing.txt" }}
reqs_checksum: cache-v1-{{ checksum "deposit_contract/requirements-testing.txt" }}
venv_path: ./test_libs/pyspec/venv
jobs:
checkout_specs:
Expand Down Expand Up @@ -120,13 +120,12 @@ workflows:
- install_env:
requires:
- checkout_specs
- test:
requires:
- install_env
- lint:
requires:
- test
# - test:
# requires:
# - install_env
# - lint:
# requires:
# - test
- deposit_contract:
requires:
- install_env
- lint
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ install_deposit_contract_test:
test_deposit_contract: $(PY_SPEC_ALL_TARGETS)
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; \
cd ../.. && cd $(DEPOSIT_CONTRACT_DIR); \
pip3 install -r requirements-testing.txt; \
python -m pytest .

# "make pyspec" to create the pyspec for all phases.
Expand Down

0 comments on commit a0e13cd

Please sign in to comment.