Skip to content

chore: initial project - Concat of Webapp & Core #1

chore: initial project - Concat of Webapp & Core

chore: initial project - Concat of Webapp & Core #1

Workflow file for this run

name: Core Quality
on:
push:
pull_request:
workflow_call:
secrets:
OPENAI_API_KEY:
required: true
ANTHROPIC_API_KEY:
required: true
SERPER_API_KEY:
required: true
jobs:
build:
name: Quality
runs-on: ubuntu-latest
defaults:
run:
working-directory: core
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run Flake8
run: |
poetry run flake8 ai_assistant_core tests
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
SERPER_API_KEY: ${{ secrets.SERPER_API_KEY }}
run: |
poetry run pytest