ci: test that setup-fpm passes all the fpm tests #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / TestInvalid workflow file
|
||
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 |