-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from transientlunatic/v0.4-preview
Create v0.4
- Loading branch information
Showing
16 changed files
with
726 additions
and
398 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Documentation | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- v*-preview | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Build HTML Docs | ||
run: | | ||
sudo apt install pandoc | ||
pip install sphinx sphinx-multiversion | ||
pip install kentigern | ||
pip install -r requirements.txt | ||
pip install -r requirements_dev.txt | ||
pip install . | ||
cd docs | ||
make html | ||
- name: SCP Deploy HTML Docs | ||
uses: horochx/[email protected] | ||
with: | ||
local: docs/_build/html/* | ||
remote: /home/danwilliams/code.daniel-williams.co.uk/heron/${{ github.ref_name }} | ||
host: ${{ secrets.sshhost }} | ||
user: ${{ secrets.sshuser }} | ||
key: ${{ secrets.sshkey }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,29 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
name: Tests | ||
on: | ||
push: | ||
branches: [ review ] | ||
branches: | ||
- master | ||
- v*-preview | ||
pull_request: | ||
branches: [ review ] | ||
branches: | ||
- master | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Build HTML Docs | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt install pandoc | ||
pip install sphinx | ||
pip install kentigern | ||
pip install -r requirements.txt | ||
pip install -r requirements_dev.txt | ||
pip install . | ||
cd docs | ||
make html | ||
pip install -r requirements_test.txt | ||
- name: SCP Deploy HTML Docs | ||
uses: horochx/[email protected] | ||
with: | ||
local: docs/_build/html/* | ||
remote: /home/danwilliams/code.daniel-williams.co.uk/heron/review | ||
host: ${{ secrets.sshhost }} | ||
user: ${{ secrets.sshuser }} | ||
key: ${{ secrets.sshkey }} | ||
- name: Run Tests | ||
run: | | ||
python -m unittest discover tests/ |
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
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
Oops, something went wrong.