utils_kernel_module: filter out not applicable module parameters #5917
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: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| travis-check: | |
| name: Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: &py_versions ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| fail-fast: false | |
| steps: | |
| - run: echo "Job triggered by a ${{ github.event_name }} event on branch is ${{ github.ref }} in repository is ${{ github.repository }}" | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| check-latest: true | |
| cache: 'pip' | |
| cache-dependency-path: requirements-travis.txt | |
| - name: Install dependencies | |
| run: pip install -r requirements-travis.txt | |
| - name: Check out Avocado libs | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: 'avocado-framework/avocado' | |
| path: 'avocado-libs' | |
| fetch-depth: 0 | |
| - name: Install avocado libs | |
| working-directory: ./avocado-libs | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install 'setuptools-rust==1.1.2' | |
| pip install -e . | |
| - name: Finish installing dependencies | |
| run: | | |
| pip install -e . | |
| - name: Create some fake binaries to make vt-bootstrap happy | |
| run: | | |
| mkdir -p /tmp/dummy_bin | |
| touch /tmp/dummy_bin/arping | |
| touch /tmp/dummy_bin/tcpdump | |
| chmod 777 /tmp/dummy_bin/* | |
| echo "/tmp/dummy_bin" >> $GITHUB_PATH | |
| - name: Setup Avocado-vt for functional tests | |
| run: AVOCADO_LOG_DEBUG=yes avocado vt-bootstrap --vt-skip-verify-download-assets --yes-to-all | |
| - run: echo "This job's status is ${{ job.status }}." | |
| package-build: | |
| name: Build Package for Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| matrix: | |
| python-version: *py_versions | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| check-latest: true | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build setuptools wheel | |
| - name: Build package | |
| run: python -m build | |
| - name: Build eggs (legacy) | |
| if: ${{ contains(fromJSON('["3.9","3.10","3.11"]'), matrix.python-version) }} | |
| run: python setup.py bdist_egg | |
| - run: echo "🥑 This job's status is ${{ job.status }}." |