fixes + workflows

This commit is contained in:
Clelia (Astra) Bertelli
2025-06-24 21:01:01 +02:00
parent 7d559a57e0
commit 7717306f20
5 changed files with 67 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Linting
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install 3.12
- name: Run linter
shell: bash
run: uv run -- pre-commit run -a
+21
View File
@@ -0,0 +1,21 @@
name: CI Tests
on:
pull_request:
jobs:
core-typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install
- name: Run Tests
run: uv run -- pytest tests/test_*.py
+22
View File
@@ -0,0 +1,22 @@
name: Typecheck
on:
pull_request:
jobs:
core-typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install
- name: Run Mypy
working-directory: src
run: uv run -- mypy agents_observability_demo
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License
Copyright (c) Clelia Astra Bertelli
Copyright (c) Jerry Liu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+3 -3
View File
@@ -1,6 +1,6 @@
# Agentic Observability Demo
# Agents Observability Demo
## Your Accurate Flight Assistant
## With LlamaIndex and OpenTelemetry!
This demo showcases a solution for agent observability and tracing by building on the LlamaIndex x OpenTelemetry integration.
@@ -13,7 +13,7 @@ It traces the activity of an agent capable of extracting information from a Univ
Get the GitHub repository:
```bash
git clone https://github.com/AstraBert/agents-observability-demo
git clone https://github.com/run-llama/agents-observability-demo
```
Install dependencies: