Skip to content

update script

update script #106

Workflow file for this run

name: coverage
on: [push]
jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8']
steps:
- name: Checkout repository
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: Generate Report
run: |
poetry run pytest --cov=./ --cov-report=xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
files: ./coverage.xml