mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
[CI] Setup docker + try running systemd container
This commit is contained in:
@@ -27,6 +27,23 @@ jobs:
|
|||||||
key: v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }}
|
key: v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: run tests
|
name: run unit tests
|
||||||
command: |
|
command: |
|
||||||
py.test tests/
|
py.test tests/
|
||||||
|
|
||||||
|
# Run full installer test
|
||||||
|
- setup_remote_docker
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: build docker image
|
||||||
|
command: |
|
||||||
|
docker build -t tljh-systemd .
|
||||||
|
|
||||||
|
- run:
|
||||||
|
name: start docker image
|
||||||
|
command: |
|
||||||
|
docker run \
|
||||||
|
--privileged \
|
||||||
|
--detach \
|
||||||
|
--name=tljh-dev \
|
||||||
|
tljh-systemd
|
||||||
|
|||||||
Reference in New Issue
Block a user