Tests that CI runs from a checkout of another repository

Aperta
#591 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
46/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
6h 31m
PR unite (30g)
238

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.