forked from commaai/panda
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1014 Bytes
/
vcan-isotp.yaml
File metadata and controls
39 lines (31 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: vcan-isotp
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref != 'refs/heads/master' && github.ref || github.run_id }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
test:
name: vcan0 ISO-TP
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Install SocketCAN dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends linux-modules-extra-$(uname -r) can-utils
- name: Setup project
run: ./setup.sh
- name: Build libpanda test artifact
run: source .venv/bin/activate && /bin/bash -c "scons"
- name: Setup virtual CAN
run: |
./scripts/build_can_isotp.sh
./scripts/set_up_vcan.sh
- name: Run virtual ISO-TP test
run: source .venv/bin/activate && /bin/bash -c "pytest -n0 -rs tests/test_isotp_socketcan.py"