Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update skill-related shared actions #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/skill_test_intents.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Skill Unit Tests
name: Skill Intent Tests
on:
workflow_call:
inputs:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install --upgrade pip
pip install wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install setuptools wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install --no-build-isolation pyyaml~=5.4 # TODO: patching https://github.com/yaml/pyyaml/issues/724
cd action/skill
pip install pytest mock ovos-core[skills]>=0.0.7 .[test]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/skill_test_resources.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Skill Unit Tests
name: Skill Resource Tests
on:
workflow_call:
inputs:
Expand All @@ -17,24 +17,24 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: action/skill/
- name: Checkout Scripts Repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: NeonGeckoCom/.github
path: action/github/
- name: Set up python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install --upgrade pip
pip install wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install setuptools wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install --no-build-isolation pyyaml~=5.4 # TODO: patching https://github.com/yaml/pyyaml/issues/724
pip install ovos-core[skills]>=0.0.7 pytest mock neon-minerva~=0.1 # TODO: Left for backwards-compat
pip install action/skill[test]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/skill_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
sudo apt update
sudo apt install -y gcc libfann-dev swig libssl-dev portaudio19-dev git libpulse-dev
pip install --upgrade pip
pip install wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install setuptools wheel "cython<3.0.0" # TODO: cython patching https://github.com/yaml/pyyaml/issues/724
pip install --no-build-isolation pyyaml~=5.4 # TODO: patching https://github.com/yaml/pyyaml/issues/724
pip install pytest mock git+https://github.com/NeonGeckoCom/NeonCore#egg=neon_core .[test]
# TODO: `mock` left for backwards-compat. skills should specify their own test deps
Expand Down