Skip to content

Remove setup.py (#123) #542

Remove setup.py (#123)

Remove setup.py (#123) #542

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.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- name: Setup Fortran
uses: fortran-lang/setup-fortran@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