Add Karpenter Test to the integration tests executing on Dev, Test and Ops venues #663
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 | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e ".[test]" | |
pip install git+https://github.com/unity-sds/unity-monorepo.git@main#subdirectory=libs/unity-py | |
- name: Run unit tests | |
run: | | |
pytest -vv --gherkin-terminal-reporter \ | |
unity-test/unit | |
env: | |
PYTHONPATH: airflow/plugins | |
AIRFLOW_VAR_UNITY_VENUE: unittests |