exceptions: Update URL to canonical location #4805
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: 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 |