Skip to content

Commit

Permalink
Merge pull request #24 from fortran-lang/ci/check-fpm-works
Browse files Browse the repository at this point in the history
ci: test that setup-fpm passes all the fpm tests
  • Loading branch information
gnikit authored Sep 18, 2024
2 parents 416ec5a + b86bc9a commit 3a4b939
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,19 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
fpm-version: ${{ matrix.fpm-version }}

- name: test fpm
run: fpm --help
- name: Checkout the fpm repo
if: matrix.fpm-version == 'latest'
uses: actions/checkout@v4
with:
repository: fortran-lang/fpm

- name: Setup the Fortran compiler
if: matrix.fpm-version == 'latest'
uses: fortran-lang/[email protected]
with:
compiler: gcc
compiler-version: 13

- name: Check that all the fpm tests pass
if: matrix.fpm-version == 'latest'
run: fpm test

0 comments on commit 3a4b939

Please sign in to comment.