Test ovos-core 0.0.8 compat. #1678
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will run unit tests | |
name: Test Installation | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
core_and_skills: | |
strategy: | |
matrix: | |
python-version: [ 3.8, 3.9, '3.10', '3.11' ] | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install System Dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev python3-dev | |
pip install wheel | |
- name: Test Core Module Installation | |
run: | | |
pip install .[core_modules] | |
- name: Test Skills Installation | |
run: | | |
pip install .[skills_required,skills_essential,skills_default,skills_extended] | |
pi_image_3_10: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test chroot installation | |
uses: pguyot/arm-runner-action@v2 | |
with: | |
optimize_image: false | |
base_image: https://2222.us/app/files/neon_images/test_images/pi_image_3.img.xz | |
cpu: cortex-a53 | |
copy_repository_path: /core | |
commands: | | |
bash /core/test/pi_setup_3_10.sh || exit 2 | |
. /core/venv/bin/activate || exit 2 | |
neon-audio init-plugin -p coqui || exit 2 | |
neon-speech init-plugin -p neon-stt-plugin-nemo || exit 2 | |
pi_image_3_11: | |
runs-on: ubuntu-latest | |
timeout-minutes: 90 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test chroot installation | |
uses: pguyot/arm-runner-action@v2 | |
with: | |
optimize_image: false | |
base_image: https://2222.us/app/files/neon_images/test_images/pi_image_3.img.xz | |
cpu: cortex-a53 | |
copy_repository_path: /core | |
commands: | | |
bash /core/test/pi_setup_3_11.sh || exit 2 | |
. /core/venv/bin/activate || exit 2 | |
neon-audio init-plugin -p coqui || exit 2 | |
neon-speech init-plugin -p neon-stt-plugin-nemo || exit 2 |