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

ci: use apt instead of pip to install tox #1151

Closed
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
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
run: sudo apt install tox
- name: Run linter
run: |
tox -e lint
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
run: sudo apt install tox
- name: Run unit tests
run: tox -e py3

Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
run: sudo apt install tox
- name: Run integration
# Force one single concurrent test
run: tox -e integration
Expand All @@ -144,6 +144,6 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: pip install tox
run: sudo apt install tox
- name: Run integration
run: tox -e integration-quarantine
2 changes: 1 addition & 1 deletion .github/workflows/test_candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
if: ${{ env.next-test != 'NA' }}
run: pip install tox
run: sudo apt install tox
- name: Run integration
if: ${{ env.next-test != 'NA' }}
# Force one single concurrent test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
if: ${{ env.next-test != 'NA' }}
run: pip install tox
run: sudo apt install tox
- name: Run integration
if: ${{ env.next-test != 'NA' }}
# Force one single concurrent test
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# (pre ubuntu 24.04, otherwise consider "apt install tox" or "pipx install tox")
# and then run "tox" from this directory.

[tox]
Expand Down
Loading