Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,36 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
gcc_v: [10] # Version of GFortran we want to use.
python-version: [3.9]
gcc_v: [12] # Version of GFortran we want to use.
python-version: ["3.10"]
env:
FC: gfortran-${{ matrix.gcc_v }}
GCC_V: ${{ matrix.gcc_v }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4.2.2
with:
submodules: recursive

- name: Install Python
uses: actions/setup-python@v4 # Use pip to install latest CMake, & FORD/Jin2For, etc.
uses: actions/setup-python@v5.6.0 # Use pip to install latest CMake, & FORD/Jin2For, etc.
with:
python-version: ${{ matrix.python-version }}

- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
uses: ts-graphviz/setup-graphviz@v2.0.2

- name: Setup Fortran Package Manager
uses: fortran-lang/setup-fpm@v5
uses: fortran-lang/setup-fpm@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Python dependencies
if: contains( matrix.os, 'ubuntu')
run: |
python -m pip install --upgrade pip
pip install numpy matplotlib ford
pip install numpy matplotlib ford graphviz
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Install GFortran Linux
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
COV_DIR: build/coverage

- name: Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5.4.3
with:
files: build/coverage/coverage.info

Expand All @@ -80,7 +80,9 @@ jobs:

- name: Deploy Documentation
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.7.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: doc # The folder the action should deploy.
single-commit: true