fx mutable default values for fields in a dataclass (#38) #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: specification_checker.py | |
on: [push] | |
jobs: | |
specification_checker: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install basic dependencies | |
run: | | |
sudo apt-get update | |
python3 -m pip install pip -U | |
- name: Install dependencies | |
run: ./scripts/ubuntu.sh --yes --cyphal-only | |
- name: Install the package | |
run: pip install . | |
- name: Run Yakut Monitor with ID 126 in background | |
run: | | |
source scripts/cyphal/init.sh --interface slcan0 --node-id 126 -v | |
y mon & | |
- name: Run pytest | |
run: | | |
source scripts/cyphal/init.sh -i slcan0 -n 127 -v | |
./src/raccoonlab_tools/scripts/cyphal/test_specification.py |