Extract library builder base #4829
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: Python tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
cache-dependency-glob: | | |
pyproject.toml | |
lambda/pyproject.toml | |
- name: Install dependencies | |
run: make ce | |
- name: Setup ozy for unified terraform versions etc | |
run: | | |
curl -sL https://raw.githubusercontent.com/aquanauts/ozy/main/conf/install.sh | bash | |
echo "$HOME/.ozy/bin" >> $GITHUB_PATH | |
- name: Check static | |
run: make static-checks | |
- name: tests | |
run: make test |