Skip to content

fix: update deprecated imports from ovos-utils (#300) #157

fix: update deprecated imports from ovos-utils (#300)

fix: update deprecated imports from ovos-utils (#300) #157

Workflow file for this run

name: Run CodeCov
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
env:
PYTHON: '3.9'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev
python -m pip install build wheel
- name: Install repo
run: |
pip install -e .
- name: Install test dependencies
run: |
sudo apt install libssl-dev libfann-dev portaudio19-dev libpulse-dev
pip install -r requirements/test.txt
pip install ./test/end2end/session/skill-ovos-hello-world
pip install ./test/end2end/session/skill-ovos-fallback-unknown
pip install ./test/end2end/session/skill-ovos-fallback-unknownv1
pip install ./test/end2end/session/skill-converse_test
- name: Generate coverage report
run: |
pytest --cov=./ovos_workshop --cov-report xml test/unittests
pytest --cov-append --cov=ovos_workshop --cov-report xml test/end2end
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
fail_ci_if_error: true
files: ./coverage.xml,!./cache
flags: unittests
name: codecov-umbrella
verbose: true