Add get_value_ptr
#519
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: 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@v4 | |
- 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 |