add scheduled pipelines with custom cluster for CNI benchmarks #169
This file contains 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: Python Validation | |
on: | |
pull_request: | |
paths: | |
- 'modules/python/**' | |
env: | |
PYTHON_MODULES_DIR: modules/python | |
jobs: | |
python-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Python Version Check | |
run: python --version | |
- name: Run Python Unit Tests | |
working-directory: ${{ env.PYTHON_MODULES_DIR }} | |
run: python -m unittest discover |