Update AvroBlob documentation #617
Workflow file for this run
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: Generate coverage and upload to Codecov | |
on: [push, pull_request] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install coverage codecov pytest pytest-cov pytest-mock pytest-console-scripts | |
pip install .[dev] | |
- name: Generate coverage file | |
env: | |
PACK_NAME: 'hop' | |
run: | | |
python -m pytest --cov-report term --cov-report xml:coverage.xml --cov $PACK_NAME | |
- name: Upload results to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
file: coverage.xml # optional | |
flags: pytest # optional | |
name: codecov-umbrella # optional | |
fail_ci_if_error: true # optional (default = false) | |