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
6 changes: 6 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TES_USERNAME=your-username
TES_PASSWORD=your-password
TES_URL=https://your-tes-instance.example.com
OUTPUT_PATH=/data
OUTPUT_URL=s3://your-bucket/data

64 changes: 64 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v8.0.0
- name: Install dependencies
run: uv sync --locked --extra dev
- name: Run tests
run: uv run python -m pytest

lint:
name: Lint and format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@v8.0.0
- name: Install dependencies
run: uv sync --locked --extra dev
- name: Check style with ruff
run: |
uv run ruff check .
uv run ruff format --check .

type-check:
name: Type check with mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@v8.0.0
- name: Install dependencies
run: uv sync --locked --extra dev
- name: Check types with mypy
run: uv run mypy .
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.env
.pytest_cache
.ruff_cache
.venv
.vscode
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[project]
name = "tes-mcp"
version = "0.1.0"
description = "MCP server for TES"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mcp[cli]>=2.0.0",
]

[project.optional-dependencies]
dev = [
"mypy>=1.13",
"pytest>=8.3",
"ruff>=0.8",
]
Loading
Loading