Skip to content

Commit

Permalink
chore: release_tests (#590)
Browse files Browse the repository at this point in the history
* chore: release_tests

* chore: release_tests

* chore: release_tests

* chore: release_tests

* chore: release_tests

* chore: release_tests

* chore: release_tests

* chore: release_tests
  • Loading branch information
JarbasAl authored Nov 6, 2024
1 parent 23ca141 commit c8f99d7
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
python setup.py bdist_wheel
- name: Install package
run: |
pip install .[mycroft,lgpl,plugins,skills-essential,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop] ovos-gui==1.0.0
pip install .[mycroft,lgpl,plugins,skills-essential,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop]
45 changes: 45 additions & 0 deletions .github/workflows/constraint_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Test Constraints

on:
workflow_dispatch:
pull_request:
paths:
- 'requirements/requirements.txt'
- 'requirements/lgpl.txt'
- 'requirements/mycroft.txt'
- 'requirements/plugins.txt'
- 'requirements/skills-audio.txt'
- 'requirements/skills-desktop.txt'
- 'requirements/skills-essential.txt'
- 'requirements/skills-gui.txt'
- 'requirements/skills-internet.txt'
- 'requirements/skills-media.txt'

jobs:
test-stable-and-testing-constraints:
runs-on: ubuntu-latest
strategy:
matrix:
constraints_file: ['stable', 'testing']

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'

- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev portaudio19-dev libpulse-dev libfann-dev
- name: Download constraints file
run: |
curl -o requirements/constraints-${{ matrix.constraints_file }}.txt https://raw.githubusercontent.com/OpenVoiceOS/ovos-releases/refs/heads/main/constraints-${{ matrix.constraints_file }}.txt
- name: Install core repo with constraints
run: |
pip install -e .[mycroft,lgpl,plugins,skills-essential,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop] --pre -c requirements/constraints-${{ matrix.constraints_file }}.txt
1 change: 0 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ padacioso>=1.0.0, <2.0.0
ovos-adapt-parser>=1.0.4, <2.0.0
ovos_ocp_pipeline_plugin>=1.0.5, <2.0.0
ovos-common-query-pipeline-plugin>=1.0.4, <2.0.0

ovos-utils>=0.3.5,<1.0.0
ovos_bus_client>=0.1.4,<2.0.0
ovos-plugin-manager>=0.5.6,<1.0.0
Expand Down

0 comments on commit c8f99d7

Please sign in to comment.