diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76b5cb0..55b3de4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: ci on: push: @@ -40,7 +40,7 @@ jobs: - name: Run tests with pytest run: | - pytest --cov=cflan --cov-report=xml --cov-report=term-missing + pytest --cov --cov-report=xml --cov-report=term-missing - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 diff --git a/opencode.json b/opencode.json new file mode 100644 index 0000000..b8bcd68 --- /dev/null +++ b/opencode.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://opencode.ai/config.json", + "mcp": { + "agent-hub": {"type": "local", "command": ["npx", "-y", "agent-hub-mcp@latest"], "enabled": true}, + "context-mode": {"type": "local", "command": ["context-mode"], "enabled": true}, + "context7": {"type": "remote", "url": "https://mcp.context7.com/mcp", "enabled": true}, + "github": {"type": "remote", "url": "https://api.githubcopilot.com/mcp/", "enabled": true, "headers": {"Authorization": "Bearer {env:GITHUB_TOKEN}"}}, + "opencode-docs": {"enabled": false}, + "opentofu-docs": {"enabled": false}, + "aws-docs": {"enabled": false}, + "kubernetes": {"enabled": false}, + "tmux": {"enabled": false}, + "linear": {"enabled": false}, + "notion": {"enabled": false}, + "aws-api-staging": {"enabled": false}, + "aws-api-prod": {"enabled": false}, + "grafana": {"enabled": false}, + "terraform-docs": {"enabled": false}, + "argocd-staging-eks": {"enabled": false}, + "argocd-prod-eks": {"enabled": false} + }, + "tools": { + "opencode-docs_*": false, + "opentofu-docs_*": false, + "aws-docs_*": false, + "kubernetes_*": false, + "tmux_*": false, + "linear_*": false, + "notion_*": false, + "aws-api-staging_*": false, + "aws-api-prod_*": false, + "grafana_*": false, + "terraform-docs_*": false, + "argocd-staging-eks_*": false, + "argocd-prod-eks_*": false + } +} diff --git a/pyproject.toml b/pyproject.toml index 23fc715..95200e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,6 +110,7 @@ omit = [ "setup.py", ".venv/*", "venv/*", + "install.py", ] [tool.coverage.report] @@ -122,4 +123,4 @@ exclude_lines = [ "if TYPE_CHECKING:", ] show_missing = true -fail_under = 80 +fail_under = 70