Skip to content

Merge pull request #89 from kayjan/v0.12.3 #246

Merge pull request #89 from kayjan/v0.12.3

Merge pull request #89 from kayjan/v0.12.3 #246

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
python -m pip install pandas
python -m pip install pydot
python -m pip install Pillow
- name: Generate coverage report
run: |
python -m pip install pytest
python -m pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
if: ${{ github.event_name == 'push' }}
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true # optional (default = false)
name: codecov-umbrella
verbose: true # optional (default = false)