Ensure all `files_external` tests are accounted for in CI

Abierto
#66,769 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, php
Área
ci-cd, testing

Línea de trabajo

Start by inspecting the generic PHPUnit suite, the CI jobs that select files_external tests, and the overlapping autotest.sh and autotest-external.sh scripts. Inventory discovery and skips for the five named test classes, then determine which service-independent tests run generically and how backend-dependent tests are accounted for. Done means CI selection is clear, tests cannot be silently omitted, and the test README is updated.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

CI feature: external storage technical debt tests

Problem

The files_external test layout makes CI coverage difficult to determine and also appears to have lead to some test classes not running. While working on #66768, including add new test coverage for files_external, I noticed no checked-in CI selector appears to run these classes:

  • Mocked tests: Amazons3CopyTest, SFTPReadStreamTest, SFTPWriteStreamTest
  • Backend-dependent tests: OwncloudTest, SwiftTest

The generic PHPUnit suite excludes tests/Storage/, while backend jobs select specific files or groups. Service-independent tests are split between the two locations.

Follow-up ideas:

  • Inventory test discovery and CI execution, including skips.
  • Ensure service-independent tests run in the generic suite.
  • Decide how to run or explicitly account for backend-dependent tests.
  • Make backend dependencies and CI selection clear.
  • Assess the virtue of maintaining the overlapping legacy autotest.sh / autotest-external.sh scripts.
  • Add a guard against silently omitting new tests, and update the test README.
Lenguaje dominante
PHP
Estrellas
37.6k
Forks
5.4k
Merge medio
1 d 13 h
PR fusionados (30 d)
623

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nextcloud/server

Todos los issues de nextcloud/server

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.