Skip to content

Commit

Permalink
Merge pull request #544 from OpenVoiceOS/release-0.0.8a132
Browse files Browse the repository at this point in the history
Release 0.0.8
  • Loading branch information
JarbasAl authored Sep 17, 2024
2 parents d3abd8b + 0dc6673 commit a3d60f0
Show file tree
Hide file tree
Showing 700 changed files with 1,628,037 additions and 15,140 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/requirements" # Location of package manifests
schedule:
interval: "weekly"
11 changes: 2 additions & 9 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -39,11 +39,4 @@ jobs:
python setup.py bdist_wheel
- name: Install package
run: |
pip install .[all,skills-essential]
- uses: pypa/[email protected]
with:
# Ignore setuptools vulnerability we can't do much about
# Ignore numpy vulnerability affecting latest version for Py3.7
ignore-vulns: |
GHSA-r9hx-vwmv-q579
GHSA-fpfv-jqm9-f5jm
pip install .[mycroft,lgpl,plugins,skills-essential,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop]
10 changes: 10 additions & 0 deletions .github/workflows/conventional-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# auto add labels to PRs
on:
pull_request_target:
types: [ opened, edited ]
name: conventional-release-labels
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: bcoe/conventional-release-labels@v1
65 changes: 65 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
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 libssl-dev libfann-dev portaudio19-dev libpulse-dev
python -m pip install build wheel
- name: Install test dependencies
run: |
pip install -r requirements/tests.txt
pip install ./test/unittests/common_query/ovos_tskill_fakewiki
pip install ./test/end2end/skill-ovos-hello-world
pip install ./test/end2end/skill-ovos-fallback-unknown
pip install ./test/end2end/skill-ovos-slow-fallback
pip install ./test/end2end/skill-converse_test
pip install ./test/end2end/skill-ovos-schedule
pip install ./test/end2end/skill-new-stop
pip install ./test/end2end/skill-old-stop
pip install ./test/end2end/skill-fake-fm
pip install ./test/end2end/skill-fake-fm-legacy
pip install ./test/end2end/skill-ovos-fakewiki
pip install ./test/end2end/metadata-test-plugin
- name: Install core repo
run: |
pip install -e .[mycroft,deprecated]
- name: Generate coverage report
run: |
pytest --cov=ovos_core --cov-report xml test/unittests
pytest --cov-append --cov=ovos_core --cov-report xml test/end2end
pytest --cov-append --cov=ovos_core --cov-report xml test/integrationtests
- name: Generate coverage report with padatious
run: |
sudo apt install libfann-dev
pip install .[lgpl]
pytest --cov-append --cov=ovos_core --cov-report xml test/unittests/skills
- name: Generate coverage report with utils 0.0.38
run: |
pip install ovos-utils==0.0.38
pytest --cov-append --cov=ovos_core --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
19 changes: 0 additions & 19 deletions .github/workflows/dev2master.yml

This file was deleted.

167 changes: 0 additions & 167 deletions .github/workflows/install_tests.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev libpulse-dev
- name: Install core repo
run: |
pip install .[audio-backend,mark1,stt,tts,skills,gui,bus,PHAL,all]
pip install .[mycroft,lgpl,skills-essential]
- name: Get explicit and transitive dependencies
run: |
pip freeze > requirements-all.txt
Expand All @@ -37,8 +37,8 @@ jobs:
requirements: 'requirements-all.txt'
fail: 'Copyleft,Other,Error'
fails-only: true
exclude: '^(precise-runner|fann2|tqdm|bs4|mutagen|ovos-stt-plugin).*'
exclude: '^(precise-runner|fann2|tqdm|bs4|sonopy|caldav|recurring-ical-events|x-wr-timezone).*'
exclude-license: '^(Mozilla).*$'
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
run: echo "${{ steps.license_check_report.outputs.report }}"
23 changes: 0 additions & 23 deletions .github/workflows/notify_matrix.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/pipaudit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Run PipAudit
on:
push:
branches:
- master
- dev
workflow_dispatch:

jobs:
build_tests:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev
- name: Install package
run: |
pip install .[skills-essential]
- uses: pypa/[email protected]
with:
# Ignore setuptools vulnerability we can't do much about
# Ignore numpy vulnerability affecting latest version for Py3.7
ignore-vulns: |
GHSA-r9hx-vwmv-q579
GHSA-fpfv-jqm9-f5jm
Loading

0 comments on commit a3d60f0

Please sign in to comment.