meal-order-manager/.github/workflows/ci.yml
Adam Moussa 8d81ebb4cc
fix(form): address PR review findings
Harden generated form behavior, accessibility, and CI dependency handling after review.
2026-07-30 17:51:16 -04:00

39 lines
992 B
YAML

name: CI
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lint:
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@0170a57c0d99b542cfafd1f3e1d369c32643f486 # v1.0.2
with:
run-tests: false
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: "3.12"
- name: Install Python dependencies
shell: bash
run: |
pip install pytest
while IFS= read -r -d '' req; do
pip install -r "$req"
done < <(find . -name requirements.txt -not -path './.aws-sam/*' -print0)
- name: Install Playwright Chromium
run: playwright install --with-deps chromium
- name: Run tests
run: pytest