Skip to content

Test pandas 223

Test pandas 223 #1054

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@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
cache: "pip"
cache-dependency-path: |
setup.py
test_requirements.txt
- 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)