Skip to content

Commit 57e6c7f

Browse files
authored
Merge pull request #441 from Mng-dev-ai/chore/remove-test-infrastructure
Remove test infrastructure to rebuild from scratch
2 parents adbd52f + d16ed98 commit 57e6c7f

24 files changed

Lines changed: 1 addition & 5684 deletions

.github/workflows/backend-checks.yml

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/cache@v4
3434
with:
3535
path: ~/.cache/pip
36-
key: ${{ runner.os }}-pip-lint-${{ hashFiles('backend/requirements.lock', 'backend/requirements-test.lock') }}
36+
key: ${{ runner.os }}-pip-lint-${{ hashFiles('backend/requirements.lock') }}
3737
restore-keys: |
3838
${{ runner.os }}-pip-lint-
3939
${{ runner.os }}-pip-
@@ -64,39 +64,3 @@ jobs:
6464
- name: Run pip-audit vulnerability scan
6565
continue-on-error: true
6666
run: pip-audit -r backend/requirements.lock
67-
68-
# test:
69-
# name: Run Backend Tests
70-
# runs-on: ubuntu-latest
71-
#
72-
# steps:
73-
# - uses: actions/checkout@v4
74-
#
75-
# - name: Set up Docker Buildx
76-
# uses: docker/setup-buildx-action@v3
77-
#
78-
# - name: Cache Docker layers
79-
# uses: actions/cache@v4
80-
# with:
81-
# path: /tmp/.buildx-cache
82-
# key: ${{ runner.os }}-buildx-${{ hashFiles('backend/Dockerfile.test', 'backend/requirements*.txt', 'backend/requirements*.lock') }}
83-
# restore-keys: |
84-
# ${{ runner.os }}-buildx-
85-
#
86-
# - name: Pull sandbox image and create network
87-
# run: |
88-
# docker pull ghcr.io/mng-dev-ai/agentrove-sandbox:latest
89-
# docker network create agentrove-sandbox-net 2>/dev/null || true
90-
#
91-
# - name: Run tests with Docker Compose
92-
# env:
93-
# CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
94-
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
95-
# DOCKER_IMAGE: ghcr.io/mng-dev-ai/agentrove-sandbox:latest
96-
# run: |
97-
# docker compose -f docker-compose.test.yml build backend-test
98-
# docker compose -f docker-compose.test.yml run --rm backend-test pytest -v --tb=short --maxfail=5
99-
#
100-
# - name: Cleanup Docker Compose
101-
# if: always()
102-
# run: docker compose -f docker-compose.test.yml down -v

backend/Dockerfile.test

Lines changed: 0 additions & 53 deletions
This file was deleted.

backend/entrypoint-test.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

backend/pyproject.toml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -39,37 +39,6 @@ max-complexity = 10
3939
[tool.ruff.lint.per-file-ignores]
4040
"__init__.py" = ["E402", "F401"]
4141

42-
[tool.pytest.ini_options]
43-
asyncio_mode = "auto"
44-
testpaths = ["tests"]
45-
python_files = ["test_*.py"]
46-
python_classes = ["Test*"]
47-
python_functions = ["test_*"]
48-
addopts = "--tb=short --disable-warnings -v"
49-
filterwarnings = [
50-
"ignore::DeprecationWarning",
51-
"ignore::PendingDeprecationWarning",
52-
"ignore::RuntimeWarning",
53-
"ignore::sqlalchemy.exc.SAWarning",
54-
]
55-
56-
[tool.coverage.run]
57-
source = ["app"]
58-
omit = [
59-
"app/migrations/*",
60-
"app/admin/*",
61-
"app/__init__.py",
62-
]
63-
64-
[tool.coverage.report]
65-
fail_under = 70
66-
exclude_lines = [
67-
"pragma: no cover",
68-
"def __repr__",
69-
"raise NotImplementedError",
70-
"if TYPE_CHECKING:",
71-
]
72-
7342
[tool.mypy]
7443
python_version = "3.13"
7544
strict_optional = true
@@ -88,7 +57,6 @@ strict_equality = true
8857
extra_checks = true
8958
exclude = [
9059
"migrations/",
91-
"tests/",
9260
"venv/",
9361
]
9462
[[tool.mypy.overrides]]
@@ -116,7 +84,6 @@ known_first_party = ["app"]
11684
ignore_notebooks = true
11785
exclude = [
11886
"migrations/",
119-
"tests/",
12087
"venv/",
12188
".venv/",
12289
]

0 commit comments

Comments
 (0)