Skip to content

Commit

Permalink
uv pip install --system
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 6, 2024
1 parent dea271d commit aca0cd0
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
python setup.py bdist_wheel
- name: Install package
run: |
uv pip install .[mycroft,lgpl,plugins,skills-essential,skills-extra,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop]
uv pip install --system .[mycroft,lgpl,plugins,skills-essential,skills-extra,skills-audio,skills-gui,skills-internet,skills-media,skills-desktop]
28 changes: 14 additions & 14 deletions .github/workflows/end2end_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ jobs:
python -m pip install build wheel uv
- name: Install test dependencies
run: |
uv pip install -r requirements/tests.txt
uv pip install ./test/integrationtests/common_query/ovos_tskill_fakewiki
uv pip install ./test/end2end/skill-ovos-hello-world
uv pip install ./test/end2end/skill-ovos-fallback-unknown
uv pip install ./test/end2end/skill-ovos-slow-fallback
uv pip install ./test/end2end/skill-converse_test
uv pip install ./test/end2end/skill-ovos-schedule
uv pip install ./test/end2end/skill-new-stop
uv pip install ./test/end2end/skill-old-stop
uv pip install ./test/end2end/skill-fake-fm
uv pip install ./test/end2end/skill-fake-fm-legacy
uv pip install ./test/end2end/skill-ovos-fakewiki
uv pip install ./test/end2end/metadata-test-plugin
uv pip install --system -r requirements/tests.txt
uv pip install --system ./test/integrationtests/common_query/ovos_tskill_fakewiki
uv pip install --system ./test/end2end/skill-ovos-hello-world
uv pip install --system ./test/end2end/skill-ovos-fallback-unknown
uv pip install --system ./test/end2end/skill-ovos-slow-fallback
uv pip install --system ./test/end2end/skill-converse_test
uv pip install --system ./test/end2end/skill-ovos-schedule
uv pip install --system ./test/end2end/skill-new-stop
uv pip install --system ./test/end2end/skill-old-stop
uv pip install --system ./test/end2end/skill-fake-fm
uv pip install --system ./test/end2end/skill-fake-fm-legacy
uv pip install --system ./test/end2end/skill-ovos-fakewiki
uv pip install --system ./test/end2end/metadata-test-plugin
- name: Install core repo
run: |
uv pip install -e .[plugins]
uv pip install --system -e .[plugins]
- name: Run end2end tests
run: |
pytest --cov-append --cov=ovos_core --cov-report xml test/end2end
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
python -m pip install build wheel uv
- name: Install test dependencies
run: |
uv pip install -r requirements/tests.txt
uv pip install ./test/integrationtests/common_query/ovos_tskill_fakewiki
uv pip install --system -r requirements/tests.txt
uv pip install --system ./test/integrationtests/common_query/ovos_tskill_fakewiki
- name: Install core repo
run: |
uv pip install -e .[plugins]
uv pip install --system -e .[plugins]
- name: Run integration tests
run: |
pytest test/integrationtests
2 changes: 1 addition & 1 deletion .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev libpulse-dev
- name: Install core repo
run: |
uv pip install .[mycroft,lgpl,skills-essential]
uv pip install --system .[mycroft,lgpl,skills-essential]
- name: Get explicit and transitive dependencies
run: |
uv pip freeze > requirements-all.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mycroft_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
python -m pip install build wheel uv
- name: Install test dependencies
run: |
uv pip install -r requirements/tests.txt
uv pip install --system -r requirements/tests.txt
- name: Install core repo
run: |
uv pip install -e .[mycroft,plugins,deprecated]
uv pip install --system -e .[mycroft,plugins,deprecated]
- name: Run mycroft compat tests
run: |
pytest test/backwards_compat
2 changes: 1 addition & 1 deletion .github/workflows/pipaudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sudo apt install python3-dev swig libssl-dev
- name: Install package
run: |
uv pip install .[skills-essential]
uv pip install --system .[skills-essential]
- uses: pypa/[email protected]
with:
# Ignore setuptools vulnerability we can't do much about
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ jobs:
python -m pip install build wheel uv
- name: Install test dependencies
run: |
uv pip install -r requirements/tests.txt
uv pip install --system -r requirements/tests.txt
- name: Install core repo
run: |
uv pip install -e .[mycroft,plugins]
uv pip install --system -e .[mycroft,plugins]
- name: Run unittests
run: |
pytest --cov=ovos_core --cov-report xml test/unittests
- name: Install padatious
run: |
sudo apt install libfann-dev
uv pip install .[lgpl]
uv pip install --system .[lgpl]
- name: Run unittests with padatious
run: |
pytest --cov-append --cov=ovos_core --cov-report xml test/unittests
Expand Down

0 comments on commit aca0cd0

Please sign in to comment.