Skip to content

Update links keyword to edges in tests #205

Update links keyword to edges in tests

Update links keyword to edges in tests #205

Workflow file for this run

# This workflow will install Python dependencies and run tests with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Testing
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
env:
LOG_DIR: /var/log/firewheel
MINIMEGA_CONFIG: /etc/minimega/minimega.conf
# Set the FIREWHEEL environment variables
EXPERIMENT_INTERFACE: lo
MM_BASE: /tmp/minimega
MM_INSTALL_DIR: /opt/minimega
GRPC_HOSTNAME: localhost
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y tar net-tools procps uml-utilities \
openvswitch-switch qemu-kvm qemu-utils dnsmasq \
ntfs-3g iproute2 libpcap-dev
- name: Prepare minimega
uses: ./.github/actions/prepare-minimega
- name: Prepare discovery
uses: ./.github/actions/prepare-discovery
- name: Prepare FIREWHEEL
uses: ./.github/actions/prepare-firewheel
- name: Run unit tests
run: |
firewheel test unit -m 'not long and not mcs' \
--cov --cov-report=term --cov-fail-under=60