Upload trace logs individually, enlarge per-stream logs, add time/size rotation #10
Workflow file for this run
This file contains hidden or 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: 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: Run unit tests | |
| run: python3 -m unittest discover -s tests -v |