forked from MycroftAI/mycroft-core
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
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
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
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 |
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