Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml → .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: CI
name: Backend Tests

on:
push:
branches: [main]
paths:
- 'finverify-terminal/backend/**'
- '.github/workflows/backend-tests.yml'
pull_request:
branches: [main]
paths:
- 'finverify-terminal/backend/**'
- '.github/workflows/backend-tests.yml'

jobs:
backend-tests:
Expand Down Expand Up @@ -36,6 +42,3 @@ jobs:

- name: Run pytest
run: pytest -q

- name: Run DVL smoke test
run: python -m pytest tests/test_dvl.py -q
44 changes: 44 additions & 0 deletions .github/workflows/sdk-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: SDK Tests

on:
push:
branches: [main]
paths:
- 'finverify-terminal/sdk/**'
- '.github/workflows/sdk-tests.yml'
pull_request:
branches: [main]
paths:
- 'finverify-terminal/sdk/**'
- '.github/workflows/sdk-tests.yml'

jobs:
sdk-tests:
name: SDK test suite
runs-on: ubuntu-latest
defaults:
run:
working-directory: finverify-terminal/sdk
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Cache pip dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('finverify-terminal/sdk/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install SDK
run: |
python -m pip install --upgrade pip
pip install -e .

- name: Run SDK tests
run: python -m tests.test_dvl
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE)
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](finverify-terminal/backend/requirements.txt)
[![Next.js 14](https://img.shields.io/badge/next.js-14-black.svg)](finverify-terminal/frontend/package.json)
[![Backend Tests](https://github.com/aadityat23/finverify-llm/actions/workflows/backend-tests.yml/badge.svg?branch=main)](https://github.com/aadityat23/finverify-llm/actions/workflows/backend-tests.yml)
[![SDK Tests](https://github.com/aadityat23/finverify-llm/actions/workflows/sdk-tests.yml/badge.svg?branch=main)](https://github.com/aadityat23/finverify-llm/actions/workflows/sdk-tests.yml)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
[![Discussions](https://img.shields.io/badge/GitHub-Discussions-informational.svg)](https://github.com/aadityat23/finverify-llm/discussions)

Expand Down
Loading