Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwilliams committed Mar 8, 2021
1 parent bc78fe7 commit a9b307e
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1

- name: Set up Python 3.x
uses: actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc.
with:
python-version: 3.x

- name: Install other tools
if: contains( matrix.os, 'ubuntu')
run: |
sudo apt-get install graphviz
sudo -H pip install numpy
sudo -H pip install ford && ford --version
sudo -H pip install matplotlib
- name: Install GFortran Linux
if: contains( matrix.os, 'ubuntu')
run: |
Expand All @@ -35,29 +48,11 @@ jobs:
- name: Run test
run: ./bin/test

Deploy-Docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: Set up Python 3.x
uses: actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc.
with:
python-version: 3.x

- name: Install other tools
if: contains( matrix.os, 'ubuntu')
run: |
sudo apt-get install graphviz
sudo -H pip install numpy
sudo -H pip install ford && ford --version
sudo -H pip install matplotlib
- name: Build documentation
run: ford ./pyplot-fortran.md

- name: Deploy Documentation
if: github.ref == 'refs/heads/master'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
Expand Down

0 comments on commit a9b307e

Please sign in to comment.