Rename to res2df #793
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: 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) |