Skip to content

feat: Add unit-test for AI concurrency & update github workflow #25

feat: Add unit-test for AI concurrency & update github workflow

feat: Add unit-test for AI concurrency & update github workflow #25

Workflow file for this run

name: Test and Lint
on:
push:
branches:
- gh-workflow-ai-test
pull_request:
branches:
- gh-workflow-ai-test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: ./.github/actions/setup-python
- name: Lint with Ruff
run: poetry run ruff check .
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: ./.github/actions/setup-python
- name: Format check with Ruff
run: poetry run ruff format --check .
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: ./.github/actions/setup-python
- name: Set up AI Server
uses: ./.github/actions/setup-ai
- name: Run pytest
run: poetry run pytest