Skip to content

Commit 8eceb6f

Browse files
committed
CI update
1 parent 60c5690 commit 8eceb6f

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/CI.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest]
13-
gcc_v: [10] # Version of GFortran we want to use.
14-
python-version: [3.9]
13+
gcc_v: [14] # Version of GFortran we want to use.
14+
python-version: [3.12]
1515
env:
1616
FC: gfortran-${{ matrix.gcc_v }}
1717
GCC_V: ${{ matrix.gcc_v }}
@@ -31,15 +31,15 @@ jobs:
3131
uses: ts-graphviz/setup-graphviz@v1
3232

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

3838
- name: Install Python dependencies
3939
if: contains( matrix.os, 'ubuntu')
4040
run: |
4141
python -m pip install --upgrade pip
42-
pip install numpy matplotlib ford
42+
pip install ford numpy matplotlib
4343
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
4444
4545
- name: Install GFortran Linux
@@ -58,7 +58,7 @@ jobs:
5858
# run: fpm build --profile release
5959

6060
- name: Run tests
61-
run: fpm test --profile release --flag -coverage
61+
run: fpm test --profile debug --flag -coverage
6262

6363
- name: Create coverage report
6464
run: |
@@ -80,7 +80,8 @@ jobs:
8080

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

0 commit comments

Comments
 (0)