Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build native CRC-15 component
run: bash canary/native/build.sh
- name: Set up vcan0 for SocketCAN tests
run: |
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
- name: Run tests
run: PYTHONPATH=. python -m pytest tests/ -v