Fix CI by zariiii9003 · Pull Request #1889 · hardbyte/python-can
Expand Up
@@ -35,14 +35,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Setup SocketCAN
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get -y install linux-modules-extra-$(uname -r)
sudo ./test/open_vcan.sh
- name: Test with pytest via tox
run: |
pipx run tox -e gh
tox -e gh
env:
# SocketCAN tests currently fail with PyPy because it does not support raw CAN sockets
# See: https://foss.heptapod.net/pypy/pypy/-/issues/3809
Expand Down
Expand Up
@@ -128,9 +132,13 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Build documentation
run: |
pipx run tox -e docs
tox -e docs
build: name: Packaging Expand Down
build: name: Packaging Expand Down