Skip to content

Feature: Added support to detect device type from new broadcasted discovery message from scifi-server #504

Feature: Added support to detect device type from new broadcasted discovery message from scifi-server

Feature: Added support to detect device type from new broadcasted discovery message from scifi-server #504

Workflow file for this run

name: main
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.GH_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
make
pip install -e .
- name: Run tests with pytest
run: |
pytest -v
- name: Run examples
run: |
synapse-sim --iface-ip 127.0.0.1 --rpc-port 50051 &
sleep 5
python synapse/examples/tap_example.py 127.0.0.1:50051
kill $(jobs -p)