Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e582182
Merge pull request #681 from OpenVoiceOS/feaat/m2v
JarbasAl May 22, 2025
f7816e4
Increment Version to 1.4.0a1
JarbasAl May 22, 2025
798eca6
Update Changelog
JarbasAl May 22, 2025
166b78f
feat: intent transformers (#686)
JarbasAl May 27, 2025
44209cd
Increment Version to 1.5.0a1
JarbasAl May 27, 2025
d2a1276
Update Changelog
JarbasAl May 27, 2025
1e7787d
publish coverage report under gh-pages (#692)
JarbasAl Jun 9, 2025
f292a22
Increment Version to 1.5.0a2
JarbasAl Jun 9, 2025
85bd6a6
Update Changelog
JarbasAl Jun 9, 2025
c22a14e
refactor: ovoscope (#691)
JarbasAl Jun 9, 2025
9f7cfa6
Increment Version to 1.5.0a3
JarbasAl Jun 9, 2025
6bb655a
Update Changelog
JarbasAl Jun 9, 2025
1453c65
coverage
JarbasAl Jun 9, 2025
e332145
fix: skills-internet.txt (#695)
JarbasAl Jun 9, 2025
7d23e68
Increment Version to 1.5.1a1
JarbasAl Jun 9, 2025
a916266
Update Changelog
JarbasAl Jun 9, 2025
62024db
refactor!: drop old pipeline plugins and deprecated methods (#690)
JarbasAl Jun 10, 2025
4508108
Increment Version to 2.0.0a1
JarbasAl Jun 10, 2025
3c39846
Update Changelog
JarbasAl Jun 10, 2025
1eef060
fix: minimum requirements + add galician skills extras (#699)
JarbasAl Jun 12, 2025
8628bcd
Update translations
JarbasAl Jun 12, 2025
a64a2b4
Increment Version to 2.0.1a1
JarbasAl Jun 12, 2025
b35de09
Update Changelog
JarbasAl Jun 12, 2025
8ca55b3
Update dependabot.yml
JarbasAl Jun 12, 2025
cc9db5e
refactor: improve_stop (#702)
JarbasAl Jun 15, 2025
da5d14e
Increment Version to 2.0.1a2
JarbasAl Jun 15, 2025
7dbb8d3
Update Changelog
JarbasAl Jun 15, 2025
9ab5ec5
fix: improve language disambiguation (#704)
JarbasAl Jun 16, 2025
393c891
Increment Version to 2.0.2a1
JarbasAl Jun 16, 2025
8c904c4
Update Changelog
JarbasAl Jun 16, 2025
4951b0b
Update ovos-config requirement in /requirements (#707)
dependabot[bot] Jun 16, 2025
e534771
Increment Version to 2.0.2a2
JarbasAl Jun 16, 2025
d5dbd30
Update Changelog
JarbasAl Jun 16, 2025
4863f27
fix: stop message.context source/destination (#706)
JarbasAl Jun 16, 2025
447d578
Increment Version to 2.0.3a1
JarbasAl Jun 16, 2025
bcfd036
Update Changelog
JarbasAl Jun 16, 2025
f4a6d49
tests: test cancel plugin (#710)
JarbasAl Jun 16, 2025
f202beb
Increment Version to 2.0.3a2
JarbasAl Jun 16, 2025
81ebd4f
Update Changelog
JarbasAl Jun 16, 2025
f9c55f5
fix: converse_routing (#712)
JarbasAl Jun 16, 2025
fe7efe7
Increment Version to 2.0.4a1
JarbasAl Jun 16, 2025
b41a03e
Update Changelog
JarbasAl Jun 16, 2025
388ab1f
refactor: launcher args (#714)
JarbasAl Jun 16, 2025
eb0bc78
Increment Version to 2.0.4a2
JarbasAl Jun 16, 2025
ee9a23d
Update Changelog
JarbasAl Jun 16, 2025
5c0f6b1
improve skill shutdown (#716)
JarbasAl Jun 17, 2025
c1967a5
Increment Version to 2.0.4a3
JarbasAl Jun 17, 2025
d40b2f7
Update Changelog
JarbasAl Jun 17, 2025
a51f08b
active skill end2end tests (#717)
JarbasAl Jun 17, 2025
d4ea122
Increment Version to 2.0.4a4
JarbasAl Jun 17, 2025
cf3ceb1
Update Changelog
JarbasAl Jun 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
relative_files = true
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/requirements" # Location of package manifests
schedule:
interval: "weekly"
interval: "daily"
85 changes: 31 additions & 54 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,59 +1,36 @@
name: Run CodeCov
# .github/workflows/coverage.yml
name: Post coverage comment

on:
push:
branches:
- dev
workflow_dispatch:
workflow_run:
workflows: ["Run Tests"]
types:
- completed

jobs:
run:
test:
name: Run tests & display coverage
runs-on: ubuntu-latest
env:
PYTHON: "3.11"
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
permissions:
# Gives the action the necessary permissions for publishing new
# comments in pull requests.
pull-requests: write
# Gives the action the necessary permissions for editing existing
# comments (to avoid publishing multiple comments in the same PR)
contents: write
# Gives the action the necessary permissions for looking up the
# workflow that launched this workflow, and download the related
# artifact that contains the comment to be published
actions: read
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: "3.11"
- 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/integrationtests/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-ovos-fakewiki
pip install ./test/end2end/metadata-test-plugin
- name: Install core repo
run: |
pip install -e .[mycroft,deprecated,plugins]
- 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
- 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: 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
# DO NOT run actions/checkout here, for security reasons
# For details, refer to https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- name: Post comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
# Update those if you changed the default values:
# COMMENT_ARTIFACT_NAME: python-coverage-comment-action
# COMMENT_FILENAME: python-coverage-comment-action.txt
82 changes: 0 additions & 82 deletions .github/workflows/end2end_tests.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/gh_pages_coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Publish Coverage to gh-pages

on:
push:
branches:
- dev
workflow_dispatch:

permissions:
contents: write # Required to push to gh-pages

jobs:
test-and-publish-coverage:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev portaudio19-dev libpulse-dev libfann-dev
python -m pip install build wheel uv

- name: Install core repo
run: |
uv pip install --system -e .[mycroft,plugins,skills-essential,lgpl,test]

- name: Run tests and collect coverage
run: |
coverage run -m pytest test/
coverage html
rm ./htmlcov/.gitignore

- name: Deploy coverage report to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./htmlcov
publish_branch: gh-pages
47 changes: 0 additions & 47 deletions .github/workflows/integration_tests.yml

This file was deleted.

69 changes: 32 additions & 37 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,73 @@
name: Run UnitTests
name: Run Tests
on:
pull_request:
branches:
- dev
paths-ignore:
- 'ovos_core/version.py'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'readme.md'
- 'README.md'
- 'scripts/**'
push:
branches:
- master
- dev
paths-ignore:
- 'ovos_core/version.py'
- 'requirements/**'
- 'examples/**'
- '.github/**'
- '.gitignore'
- 'LICENSE'
- 'CHANGELOG.md'
- 'MANIFEST.in'
- 'readme.md'
- 'README.md'
- 'scripts/**'
workflow_dispatch:

jobs:
unit_tests:
strategy:
max-parallel: 3
matrix:
python-version: ["3.11"]
runs-on: ubuntu-latest
permissions:
# Gives the action the necessary permissions for publishing new
# comments in pull requests.
pull-requests: write
# Gives the action the necessary permissions for pushing data to the
# python-coverage-comment-action branch, and for editing existing
# comments (to avoid publishing multiple comments in the same PR)
contents: write
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
- name: Set up python ${{ matrix.python-version }}
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.11"
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev portaudio19-dev libpulse-dev
sudo apt install python3-dev swig libssl-dev portaudio19-dev libpulse-dev libfann-dev
python -m pip install build wheel uv
- name: Install test dependencies
run: |
uv pip install --system -r requirements/tests.txt
- name: Install core repo
run: |
uv pip install --system -e .[mycroft,plugins]
- name: Run unittests
run: |
pytest --cov=ovos_core --cov-report xml test/unittests
- name: Install padatious
run: |
sudo apt install libfann-dev
uv pip install --system .[lgpl]
- name: Run unittests with padatious
uv pip install --system -e .[mycroft,plugins,skills-essential,lgpl,test]
- name: Run tests
run: |
pytest --cov-append --cov=ovos_core --cov-report xml test/unittests
- name: Upload coverage
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
uses: codecov/codecov-action@v3
pytest --cov=ovos_core --cov-report xml test/

- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ github.token }}

- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v4
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
fail_ci_if_error: true
files: ./coverage.xml,!./cache
flags: unittests
name: codecov-unittests
verbose: true
# If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
name: python-coverage-comment-action
# If you use a different name, update COMMENT_FILENAME accordingly
path: python-coverage-comment-action.txt
Loading
Loading