Skip to content

feat: implement vault for k8s #160

feat: implement vault for k8s

feat: implement vault for k8s #160

Workflow file for this run

name: Test
on:
pull_request:
workflow_dispatch:
env:
DB_URI: "sqlite:///:memory:"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: |
poetry env use ${{ matrix.python-version }}
- name: Install dependencies
run: |
poetry install --no-root
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
- name: Run tests
run: |
poetry run pytest app
- name: Lint with Ruff
run: |
pip install ruff
ruff --output-format=github .
continue-on-error: true