Skip to content

Commit 3a4b939

Browse files
authored
Merge pull request #24 from fortran-lang/ci/check-fpm-works
ci: test that setup-fpm passes all the fpm tests
2 parents 416ec5a + b86bc9a commit 3a4b939

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/test-workflow.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,19 @@ jobs:
3535
github-token: ${{ secrets.GITHUB_TOKEN }}
3636
fpm-version: ${{ matrix.fpm-version }}
3737

38-
- name: test fpm
39-
run: fpm --help
38+
- name: Checkout the fpm repo
39+
if: matrix.fpm-version == 'latest'
40+
uses: actions/checkout@v4
41+
with:
42+
repository: fortran-lang/fpm
43+
44+
- name: Setup the Fortran compiler
45+
if: matrix.fpm-version == 'latest'
46+
uses: fortran-lang/[email protected]
47+
with:
48+
compiler: gcc
49+
compiler-version: 13
50+
51+
- name: Check that all the fpm tests pass
52+
if: matrix.fpm-version == 'latest'
53+
run: fpm test

0 commit comments

Comments
 (0)