Skip to content
Open
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
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ jobs:
- name: Setup SocketCAN
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get -y install linux-modules-extra-$(uname -r)
# Ubuntu 26.04 ships vcan in linux-modules, older releases need linux-modules-extra
if ! modinfo vcan > /dev/null 2>&1; then
sudo apt-get update
sudo apt-get -y install linux-modules-extra-$(uname -r)
fi
sudo ./test/open_vcan.sh
- name: Test with pytest via tox
run: |
Expand All @@ -57,7 +60,7 @@ jobs:
# See: https://github.com/pypy/pypy/issues/3808
TEST_SOCKETCAN: "${{ matrix.os == 'ubuntu-latest' && ! startsWith(matrix.env, 'pypy' ) }}"
- name: Coveralls Parallel
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # 2.3.7
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # 2.3.8
with:
github-token: ${{ secrets.github_token }}
flag-name: Unittests-${{ matrix.os }}-${{ matrix.env }}
Expand All @@ -73,7 +76,7 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Coveralls Finished
uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # 2.3.7
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # 2.3.8
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ test = [
"pytest-cov==7.1.*",
"coverage==7.14.*",
"hypothesis==6.*",
# hypothesis>=6.156 needs a Rust extension that does not support PyPy 3.10
"hypothesis<6.156;platform_python_implementation=='PyPy' and python_version<'3.11'",
"parameterized==0.9.*",
]
dev = [
Expand Down
Loading