Skip to content

Auto-enable cache/network tracing when host has spare resources (#54) #90

Auto-enable cache/network tracing when host has spare resources (#54)

Auto-enable cache/network tracing when host has spare resources (#54) #90

Workflow file for this run

name: Unit Tests
# Runs the pure-Python unit tests (FlagMapper, PathResolver, utils). These have
# no bcc/kernel dependency, so unlike the BPF compile job they run on any
# runner without privileges.
on:
push:
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/unit-tests.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/unit-tests.yml'
workflow_dispatch:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install zstandard (used by the compression tests)
run: python3 -m pip install --upgrade "zstandard>=0.21"
- name: Run unit tests
run: python3 -m unittest discover -s tests -v