Skip to content

Add get_value_ptr

Add get_value_ptr #474

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master
jobs:
test:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
- name: Setup GNU Fortran
uses: modflowpy/install-gfortran-action@v1
- name: Install test dependencies
run: |
pip install -e ".[tests]"
- name: Test with pytest
# The flag -s stops pytest from capturing output
# This is necessary until proper error reporting is implemented by Modflow
run: |
pytest -vs --cov=xmipy --cov-report=xml tests/
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3