mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Split CircleCI into unit test & integration jobs
- Faster, since these can run in parallel - Hopefully lets us not maintain our own base image
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
unit-test:
|
||||||
docker:
|
docker:
|
||||||
- image: jupyterhub/tljh-circleci-base-image:6fe5372
|
- image: continuumio/miniconda3:4.5.4
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
|
||||||
@@ -31,7 +31,16 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
py.test tests/
|
py.test tests/
|
||||||
|
|
||||||
|
integration-test:
|
||||||
|
docker:
|
||||||
|
- image: docker:18.05.0-ce-git
|
||||||
# Run full installer test
|
# Run full installer test
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: setup python3
|
||||||
|
command: |
|
||||||
|
apk add --no-cache python3
|
||||||
|
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
|
|||||||
Reference in New Issue
Block a user