Tests that CI runs from a checkout of another repository

Offen
#591 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
46/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, python
Bereich
testing

Rechercherichtung

Start with ci/github_actions.py and trace how checkout repository: and path: determine which tests are discovered and run. Reproduce the FreeRTOS-shaped checkout described in the issue, then read the relevant test discovery and CI tests. Done means the project’s rule for tests from another repository is implemented and covered by a fixture.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

question

Problem

FreeRTOS-Kernel's CI checks out FreeRTOS/FreeRTOS, puts the kernel at ./FreeRTOS/Source, then runs make -C FreeRTOS/Test/CMock ENABLE_SANITIZER=1 run_col_formatted. The tests live in the other repository, so tests-run fails.

Decision needed

Do tests that live in another repository, and that CI runs against this one, count for this project? If yes, the checkout's repository: and path: (ci/github_actions.py) say what the run reaches, and the tests themselves are unknown unless fetched.

Done when

The decided rule is built, with a FreeRTOS-shaped fixture.

Split from #482. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
6 Std. 31 Min.
Gemergte PRs (30 T.)
238

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.