Skip to content

Update for newest Python #13

Update for newest Python

Update for newest Python #13

name: Send coverage report
on:
push:
branches:
- main
paths:
- newversion/**
- tests/**
jobs:
unit-tests-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -U poetry pip wheel
python -m poetry config virtualenvs.create false
python -m poetry install -n
- name: Send coverage report
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
python -m pytest --cov-report term --cov
python -m codecov