Skip to content

Commit 9a766ce

Browse files
authored
Fix CI (#1889)
1 parent 5ae913e commit 9a766ce

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,18 @@ jobs:
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
allow-prereleases: true
38+
- name: Install dependencies
39+
run: |
40+
python -m pip install --upgrade pip
41+
pip install tox
3842
- name: Setup SocketCAN
3943
if: ${{ matrix.os == 'ubuntu-latest' }}
4044
run: |
4145
sudo apt-get -y install linux-modules-extra-$(uname -r)
4246
sudo ./test/open_vcan.sh
4347
- name: Test with pytest via tox
4448
run: |
45-
pipx run tox -e gh
49+
tox -e gh
4650
env:
4751
# SocketCAN tests currently fail with PyPy because it does not support raw CAN sockets
4852
# See: https://foss.heptapod.net/pypy/pypy/-/issues/3809
@@ -128,9 +132,13 @@ jobs:
128132
uses: actions/setup-python@v5
129133
with:
130134
python-version: "3.12"
135+
- name: Install dependencies
136+
run: |
137+
python -m pip install --upgrade pip
138+
pip install tox
131139
- name: Build documentation
132140
run: |
133-
pipx run tox -e docs
141+
tox -e docs
134142
135143
build:
136144
name: Packaging

0 commit comments

Comments
 (0)