Skip to content

update changelog

update changelog #753

Workflow file for this run

name: coverage-lint
on:
push:
branches: [master, v3]
pull_request:
branches: [master, v3]
jobs:
tests:
name: Coverage and Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4.3.0
with:
python-version: 3.11
- name: Install from source
run: |
pip install --upgrade pip setuptools wheel
pip install .[all]
- name: Lint
run: flake8 src/h3 setup.py tests
- name: Pylint
# As a test for visibility of API bindings, we want to ensure that pylint has no
# `import-error` warnings for h3 imports.
run: pylint --disable=all --enable=import-error tests/
- name: Coverage
run: pytest --cov=h3 --full-trace --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.0.0
with:
file: ./coverage.xml
fail_ci_if_error: true