Merge pull request #253 from ethereum/kick-ci-cache

Kick venv cache version
This commit is contained in:
Carl Beekhuizen 2022-03-29 10:25:25 +02:00 committed by GitHub
commit a55514b7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,12 +30,12 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }} key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }}-v2
- run: - run:
name: Install requirements in venv name: Install requirements in venv
command: make venv_build_test command: make venv_build_test
- save_cache: - save_cache:
key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }} key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }}-v2
paths: paths:
- ./venv - ./venv
venv_pytest: venv_pytest:
@ -45,7 +45,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }} key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }}-v2
- run: - run:
name: Run tests with venv name: Run tests with venv
command: make venv_test command: make venv_test
@ -61,7 +61,7 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }} key: venv-deps2-{{ arch }}-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "requirements_test.txt" }}-{{ checksum "setup.py" }}-{{ checksum "Makefile" }}-v2
- run: - run:
name: Run linter with venv name: Run linter with venv
command: make venv_lint command: make venv_lint