Skip to content

Commit

Permalink
consolidate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Moodie committed Jun 21, 2020
1 parent e0b76d1 commit 699ff52
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 46 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,36 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
coveralls
docs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-docs.txt
sudo apt update -y && sudo apt install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended dvipng
- name: Install pyDeltaRCM
run: |
python setup.py install
- name: Build and test documentation
run: |
(cd docs && make docs)
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.5.5
if: ${{ github.event_name == 'push' && github.ref == 'develop' }}
with:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/build/html
GIT_CONFIG_NAME: deltarcm-helper
46 changes: 0 additions & 46 deletions .github/workflows/docs.yml

This file was deleted.

0 comments on commit 699ff52

Please sign in to comment.