Add build_pyspec job

This commit is contained in:
Hsiao-Wei Wang 2019-05-16 17:41:48 +08:00
parent 1b3dfa6781
commit 32f76641e3
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 18 additions and 1 deletions

View File

@ -69,6 +69,19 @@ jobs:
venv_name: v1-pyspec-02
reqs_checksum: '{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}'
venv_path: ./test_libs/pyspec/venv
build_pyspec:
docker:
- image: circleci/python:3.6
working_directory: ~/specs-repo
steps:
- restore_cache:
key: v1-specs-repo-{{ .Branch }}-{{ .Revision }}
- restore_cached_venv:
venv_name: v1-pyspec-02
reqs_checksum: '{{ checksum "test_libs/pyspec/requirements.txt" }}-{{ checksum "test_libs/pyspec/requirements-testing.txt" }}'
- run:
name: Build pyspec
command: make pyspec
test:
docker:
- image: circleci/python:3.6
@ -105,9 +118,13 @@ workflows:
- install_env:
requires:
- checkout_specs
- build_pyspec:
requires:
- checkout_specs
- test:
requires:
- install_env
- build_pyspec
- lint:
requires:
- test
- build_pyspec