GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-php

Integration tests aren't compatible with rennovatebot

Offen
#162 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug P2
Vorherrschende Sprache
PHP
Sterne
213
Forks
37
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Rennovatebot isn't creating branches on the local repository, so the conformance tests which require this are failing. It's likely they will also fail for other external PRs as well.

https://github.com/GoogleCloudPlatform/functions-framework-php/blob/5b645eedc7508a16481c364e8cd209fb176d3e03/tests/conformance/prerun.sh#L25

We should instead direct the integration tests to point at the currently checked out source in the GitHub action's pipeline. Perhaps something like this: https://stackoverflow.com/questions/29994088/composer-require-local-package

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit tests/conformance/prerun.sh in Zeile 25 und untersuche die GitHub Actions-Pipeline, die die Integrationstests ausführt. Prüfe, wie die Tests den derzeit ausgecheckten Quellcode finden, und verifiziere, dass die Conformance-Tests für Renovatebot und andere externe Pull Requests erfolgreich sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, php
Bereich
ci-cd, testing
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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