Skip to content

Pin pydantic

Pin pydantic #740

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 ecl2df
run: |
pip install pip -U
pip install .[tests,ert]
- name: Generate coverage report and upload
run: |
pytest tests --disable-warnings --cov=ecl2df --cov-report=xml
# Uninstall packages that ecl2df supports not being installed:
pip uninstall --yes ert networkx opm
# Run tests again in cov-append-mode:
pytest tests --disable-warnings --cov=ecl2df --cov-report=xml --cov-append
bash <(curl -s https://codecov.io/bash)