Skip to content

error9098x started CI #341

error9098x started CI

error9098x started CI #341

Workflow file for this run

name: ORAssistant CI
run-name: ${{ github.actor }} started CI
on:
pull_request:
paths:
- 'backend/**'
- 'frontend/**'
- 'evaluation/**'
- 'Makefile'
- 'docker-compose.yml'
defaults:
run:
shell: bash
jobs:
build-backend-docker:
runs-on: self-hosted
steps:
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Checkout code
uses: actions/checkout@v4
- name: Setup prereqs
run: |
make init-dev
- name: Run formatting checks
run: |
make check
- name: Run unit tests
working-directory: backend
run: |
uv pip install huggingface_hub[cli]
huggingface-cli download --repo-type dataset The-OpenROAD-Project/ORAssistant_RAG_Dataset --include source_list.json --local-dir data/
cp .env.test .env
make test
- name: Build Docker images
run: |
docker compose build