Upgrade node to v16 for codegen github action. #4712
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: Pytest | |
on: push | |
defaults: | |
run: | |
working-directory: backend | |
jobs: | |
uv-example: | |
name: python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Install the project | |
run: uv sync --all-extras --dev | |
- name: Start env | |
run: docker compose -f ../docker-compose.dev.yml up -d | |
# wait for docker containers to come up before running tests | |
- name: Sleep for 60 seconds | |
run: sleep 60s | |
shell: bash | |
- name: Run tests | |
run: uv run pytest app/tests/ |