Ensure all `files_external` tests are accounted for in CI

オープン
#66,769 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, php
領域
ci-cd, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
PHP
スター
37.6k
フォーク
5.4k
平均マージ
1日 13時間
マージ済み PR(30日)
623

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/server のほかの issue

nextcloud/server の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。