Adding missing cookiecuteer file #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 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 | |
run: | | |
source .venv/bin/activate | |
ls | |
pip install -r requirements-dev.txt | |
make tests |