Skip to content

ci: test that setup-fpm passes all the fpm tests #83

ci: test that setup-fpm passes all the fpm tests

ci: test that setup-fpm passes all the fpm tests #83

Workflow file for this run

name: Test
on: [push]
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
fpm-version: ["v0.8.0", "v0.9.0", "latest"]
node-version: ["20.x"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: MacOS system setup
if: runner.os == 'macOS'
run: |
brew install gcc@10
- name: Install dependencies
run: npm ci
- name: fpm-setup
uses: ./ # Uses action in the root directory
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fpm-version: ${{ matrix.fpm-version }}
- name: Checkout the fpm repo
if: matrix.fpm-version == "latest"

Check failure on line 39 in .github/workflows/test-workflow.yml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/test-workflow.yml (Line: 39, Col: 13): Unexpected symbol: '"latest"'. Located at position 23 within expression: matrix.fpm-version == "latest" .github/workflows/test-workflow.yml (Line: 45, Col: 13): Unexpected symbol: '"latest"'. Located at position 23 within expression: matrix.fpm-version == "latest"
uses: actions/checkout@v4
with:
repository: fortran-lang/fpm
- name: Check that all the fpm tests pass
if: matrix.fpm-version == "latest"
run: fpm test