Skip to content

Update README.md

Update README.md #25

Workflow file for this run

name: Bake cookies and build images
env:
DOCKER_BUILDX: "0.3.1"
on: ["push", "pull_request"]
jobs:
cookiecutter-jupyterlab-osparc:
name: testing cookiecutter jupyterlab
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ["3.10"]
os: ["ubuntu-20.04"]
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
version: v0.13.1
driver: docker-container
- name: create new dir
run: sudo mkdir -p /mnt/docker
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 4096
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
build-mount-path: '/mnt/docker'
- name: change docker default root path
run: |
docker info | grep "Docker Root"
sudo service docker stop
sudo sed -i "s|}|,'data-root': '/mnt/docker'}|" /etc/docker/daemon.json
sudo sed -i "s/'/\"/g" /etc/docker/daemon.json
sudo cat /etc/docker/daemon.json
sudo service docker start
docker info | grep "Docker Root"
- name: setup python environment
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "pip"
cache-dependency-path: "**/requirements*.txt"
- name: set dev environs
run: make devenv
- name: test cookiecutter build images
run: |
source .venv/bin/activate
pip install -r requirements-dev.txt
make tests