Skip to content

merge branch dev to main #303

merge branch dev to main

merge branch dev to main #303

Workflow file for this run

name: run-python-tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Generate coverage report
run: |
pip install -r requirements.txt
pip install pytest-cov
pytest --cov=./ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
flags: unittests