Skip to content

Migrate to pyproject toml #178

Migrate to pyproject toml

Migrate to pyproject toml #178

Workflow file for this run

name: codecoverage
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: "3.12"
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install fmu-ensemble and test dependencies
run: |
pip install pip -U
pip install ".[test]"
- name: Generate coverage report
run: |
pytest tests --disable-warnings --cov=fmu --cov-report=xml
- name: Upload coverage to Codecov
run: |
bash <(curl -s https://codecov.io/bash)