-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (49 loc) · 1.19 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
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:
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 }}