block: tag swap-origin (REQ_SWAP) requests in the flags column #244
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: 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 |