Skip to content

Commit

Permalink
Fix CI (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 authored Nov 6, 2024
1 parent 5ae913e commit 9a766ce
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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

0 comments on commit 9a766ce

Please sign in to comment.