Skip to content

Rename to res2df

Rename to res2df #785

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.8'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Install res2df
run: |
pip install pip -U
pip install .[tests,ert]
- name: Generate coverage report and upload
run: |
pytest tests --disable-warnings --cov=res2df --cov-report=xml
# Uninstall packages that res2df supports not being installed:
pip uninstall --yes ert networkx opm
# Run tests again in cov-append-mode:
pytest tests --disable-warnings --cov=res2df --cov-report=xml --cov-append
bash <(curl -s https://codecov.io/bash)