Skip to content

Filter out EOL refs where we don't need them #4791

Filter out EOL refs where we don't need them

Filter out EOL refs where we don't need them #4791

Workflow file for this run

name: Backend CI
on:
push:
branches: main
paths:
- "backend/**"
- ".github/workflows/backend_ci.yml"
pull_request:
branches: main
paths:
- "backend/**"
- ".github/workflows/backend_ci.yml"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Check code formatting
run: uvx ruff format --check .
- name: Check for code errors
run: uvx ruff check .
smoketests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: backend
tags: backend_backend
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build Docker backend-node image
uses: docker/build-push-action@v6
with:
context: backend-node
tags: backend-node
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Execute smoke tests
run: |
docker compose --env-file .env.ci up --no-build -d
bash tests/run_tests.sh