forked from NeonGeckoCom/skill-alerts
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (69 loc) · 1.77 KB
/
install_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 }}