mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-18 15:32:56 +00:00
Draft initial configs
This commit is contained in:
41
.github/workflows/docker.yml
vendored
Normal file
41
.github/workflows/docker.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: Build Docker Images
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "*.md"
|
||||
- "binder/**"
|
||||
- "docs/**"
|
||||
- "examples/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Docker Images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Set Up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install Dev Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
make dev-env lint-install
|
||||
- name: Lint Dockerfiles
|
||||
run: make lint-all
|
||||
- name: Debug python
|
||||
run: which pytest
|
||||
- name: Build Docker Images
|
||||
run: make build-test-all
|
||||
|
||||
push:
|
||||
name: Push Docker Images
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: TODO
|
||||
run: echo "todo"
|
25
.github/workflows/sphinx.yml
vendored
Normal file
25
.github/workflows/sphinx.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Build Sphinx Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docs/**"
|
||||
- ".github/workflows/sphinx.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Sphinx Documentation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
template:
|
||||
name: Update English Translation Templates
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
if: github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: TODO
|
||||
run: echo "todo"
|
Reference in New Issue
Block a user