Draft initial configs

This commit is contained in:
Peter Parente
2020-07-26 21:57:59 -04:00
parent b90cce83f3
commit 3dd0c3227b
2 changed files with 66 additions and 0 deletions

41
.github/workflows/docker.yml vendored Normal file
View 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
View 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"