Created Cilium Network Policy and Cilium Cluster Wide Network Policy Test #479
Workflow file for this run
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: Install Python Dependencies | |
working-directory: ${{ env.PYTHON_MODULES_DIR }} | |
run: pip install -r requirements.txt | |
- name: Run Python Unit Tests | |
working-directory: ${{ env.PYTHON_MODULES_DIR }} | |
run: python -m unittest discover |