Skip to content

Commit c8d20b6

Browse files
committed
use python -m consistently in CI
1 parent 2eb1eb7 commit c8d20b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
uses: actions/setup-python@v5
1515
with:
1616
python-version: "3.12"
17-
- run: pip install tox
17+
- run: python -m pip install tox
1818
- name: Lint the code
1919
run: tox -e lint

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ matrix.python-version }}
32-
- run: pip install tox coverage[toml]
32+
- run: python -m pip install tox coverage[toml]
3333
- name: run Python minimal tests
3434
run: tox -e tests-min
3535

@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/setup-python@v5
5656
with:
5757
python-version: ${{ matrix.python-version }}
58-
- run: pip install tox coverage[toml]
58+
- run: python -m pip install tox coverage[toml]
5959
- name: run Python tests
6060
run: |
6161
tox -e tests

0 commit comments

Comments
 (0)