Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/fsps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Debug fsps

on:
push:
pull_request:
workflow_dispatch:

jobs:

windows-tests:
runs-on: windows-latest

steps:
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Setup fortran compiler
uses: fortran-lang/setup-fortran@v1
with:
compiler: intel
version: latest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fsps
11 changes: 10 additions & 1 deletion .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,22 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup fortran compiler for dependencies
uses: fortran-lang/setup-fortran@v1
with:
compiler: gcc
version: latest
- name: Install dependencies
run: |
python -m pip install --upgrade pip
export FC=${{ env.FC }}
pip install flake8 pytest pytest-xdist
if ( Test-Path requirements.txt -PathType Leaf ) { pip install -r requirements.txt }
if ( Test-Path optional_requirements.txt -PathType Leaf ) { pip install -r optional_requirements.txt }
pip install -e .
env:
FC: gfortran
CMAKE_Fortran_COMPILER: gfortran
- name: Test with pytest
run: |
pytest -n 2
Expand Down Expand Up @@ -153,4 +162,4 @@ jobs:
pip install -e .
- name: Test with pytest
run: |
pytest -n 2
pytest -n 2
Loading