Skip to content

chore(deps): update pre-commit/action action to v3.0.1 #103

chore(deps): update pre-commit/action action to v3.0.1

chore(deps): update pre-commit/action action to v3.0.1 #103

Workflow file for this run

name: tests-unittest
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
poetry-version: ["1.2"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Run tests with coverage
run: |
poetry run coverage run
poetry run coverage xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
verbose: true
files: coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true