Skip to content

add SA conditional logic to basic_kube_op and tidy repo #18

add SA conditional logic to basic_kube_op and tidy repo

add SA conditional logic to basic_kube_op and tidy repo #18

Workflow file for this run

---
# Unit test GitHub Action configuration file
name: UnitTests
on:
- pull_request
jobs:
preview:
name: UnitTest
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install poetry pytest==6.2.5 apache-airflow==2.4.3 apache-airflow-providers-cncf-kubernetes==4.4.0 pendulum==2.1.2 tenacity==8.3.0
poetry install --no-root
- name: Run tests with pytest
run: |
if [ -d tests ]; then python -m pytest tests -vv; fi