37 lines
887 B
YAML
37 lines
887 B
YAML
name: CI
|
|
|
|
# Same checks deploy-to-s3.yml gates on, run before a change reaches main.
|
|
# main itself is excluded because the deploy workflow already runs them there;
|
|
# without branches-ignore every merge would run the suite twice.
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install Python dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -e ".[dev]"
|
|
pip install -r backend/requirements.txt
|
|
|
|
- name: Run checks
|
|
run: bash scripts/ci-checks.sh
|