Merge pull request #23 from OpenVoiceOS/release-0.1.5a1 #34
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
name: Run Install Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- dev | |
paths-ignore: | |
- '.github/**' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'CHANGELOG.md' | |
- 'MANIFEST.in' | |
- 'README.md' | |
- 'scripts/**' | |
workflow_dispatch: | |
jobs: | |
plugin_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install test dependencies | |
run: | | |
pip install pytest pytest-timeout pytest-cov | |
- name: Install ovos dependencies | |
run: | | |
pip install ovos-plugin-manager ovos-core[skills]~=0.0.2a11 | |
- name: Install package | |
run: | | |
pip install . | |
- name: Run Plugin tests | |
run: | | |
pytest test/plugin_tests.py | |
osm_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install ovos dependencies | |
run: | | |
pip install ovos-skills-manager~=0.0.10 | |
- name: Install test dependencies | |
run: | | |
pip install pytest pytest-timeout pytest-cov | |
- name: Install skill with osm | |
run: | | |
pytest test/osm_tests.py | |
msm_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install msm | |
run: | | |
pip install msm~=0.9.0 | |
- name: Install skill with msm | |
run: | | |
msm install https://github.com/${{ github.repository_owner }}/${{ github.event.repository.name }} |