Skip to content

Update essential and required skills to latest alpha versions #1677

Update essential and required skills to latest alpha versions

Update essential and required skills to latest alpha versions #1677

Workflow file for this run

# This workflow will run unit tests
name: Test Core Modules
on:
pull_request:
workflow_dispatch:
jobs:
py_build_tests:
uses: neongeckocom/.github/.github/workflows/python_build_tests.yml@master
with:
python_version: "3.8"
docker_build_tests:
uses: neongeckocom/.github/.github/workflows/docker_build_tests.yml@master
with:
platforms: linux/amd64,linux/arm64
util_tests:
strategy:
matrix:
python-version: [ 3.8, 3.9, '3.10', '3.11', '3.12' ]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install wheel
pip install . -r requirements/test.txt
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Test Skill Utils
run: |
pytest test/test_skill_utils.py --doctest-modules --junitxml=tests/skill-utils-test-results.xml
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Upload Skill Utils test results
uses: actions/upload-artifact@v4
with:
name: skill-utils-test-results-${{ matrix.python-version }}
path: tests/skill-utils-test-results.xml
- name: Test Diagnostic Utils
run: |
pytest test/test_diagnostic_utils.py --doctest-modules --junitxml=tests/diagnostic-utils-test-results.xml
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Upload Diagnostic Utils test results
uses: actions/upload-artifact@v4
with:
name: diagnostic-utils-test-results-${{ matrix.python-version }}
path: tests/diagnostic-utils-test-results.xml
unit_tests:
strategy:
matrix:
python-version: [ 3.8, 3.9, '3.10', '3.11', '3.12' ]
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- name: Set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install wheel
pip install . -r requirements/test.txt
env:
GITHUB_TOKEN: ${{secrets.neon_token}}
- name: Test Configuration Module
run: |
pytest test/test_configuration.py --doctest-modules --junitxml=tests/configuration-test-results.xml
- name: Upload Configuration test results
uses: actions/upload-artifact@v4
with:
name: configuration-test-results-${{ matrix.python-version }}
path: tests/configuration-test-results.xml
- name: Test Language
run: |
pytest test/test_language.py --doctest-modules --junitxml=tests/language-test-results.xml
- name: Upload Language test results
uses: actions/upload-artifact@v4
with:
name: language-test-results-${{ matrix.python-version }}
path: tests/language-test-results.xml
- name: Test Skills Module
run: |
pytest test/test_skills_module.py --doctest-modules --junitxml=tests/skills-module-test-results.xml
- name: Upload Language test results
uses: actions/upload-artifact@v4
with:
name: skills-module-test-results-${{ matrix.python-version }}
path: tests/skills-module-test-results.xml