mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Install python manually in the unit test container
This commit is contained in:
@@ -2,6 +2,7 @@ version: 2
|
|||||||
jobs:
|
jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
docker:
|
docker:
|
||||||
|
# Match target OS of TLJH
|
||||||
- image: ubuntu:18.04
|
- image: ubuntu:18.04
|
||||||
|
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
@@ -9,6 +10,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
# Setup Python
|
||||||
|
- run:
|
||||||
|
name: install python
|
||||||
|
command: |
|
||||||
|
apt-get update --yes && apt-get install --yes python3 python3-pip
|
||||||
|
|
||||||
# Download and cache dependencies
|
# Download and cache dependencies
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
|
|||||||
Reference in New Issue
Block a user