Skip to content

Fix pathspec

Fix pathspec #3

Workflow file for this run

name: Test Riemann solvers with PyClaw tests
on:
push:
branches: [ "implicit-none" ]
pull_request:
branches: [ "implicit-none" ]
workflow_dispatch:
permissions:
contents: read
env:
CLAW: ${{ github.workspace }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install gfortran
python -m pip install --upgrade pip
pip install 'numpy<2.0'
pip install matplotlib #Some imports require matplotlib
pip install scipy #To not skip tests
pip install flake8 meson-python ninja pytest
- name: Checkout Clawpack
uses: actions/[email protected]
with:
repository: clawpack/clawpack
submodules: true
- name: Point riemann submodule to this fork
run: |
cd ${{ env.CLAW }}/riemann
git remote set-url origin https://github.com/${{ github.repository }}.git
git fetch origin
- name: Checkout implicit-none branch of riemann submodule
run: |
cd ${{ env.CLAW }}/riemann
git checkout -b implicit-none origin/implicit-none
- name: Checkout PyClaw master branch
run: |
cd ${{ env.CLAW }}/pyclaw
git remote set-url origin https://github.com/clawpack/pyclaw.git
git fetch origin
git checkout master
git pull origin master
- name: Install Clawpack
run: |
cd ${CLAW}
pip install --no-build-isolation --editable .
- name: Test with pytest
run: |
cd ${CLAW}/pyclaw
pytest --ignore=development