inspirezonetech / inspirezonetech/TeachMePythonLikeIm5

GitHub action 'execute-modified-python-file.yml' fails if program uses 'input()'

Offen
#98 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug github-actions hacktoberfest help wanted
Vorherrschende Sprache
Python
Sterne
29
Forks
41
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**About Bug or problem**
Any program using `input()` will not execute when action is running as it is waiting for user to input something

**Steps to reproduce**
Modify a python file that uses the `input()` function to trigger GitHub action to run
[Example of action that failed because of this issue](https://github.com/inspirezonetech/TeachMePythonLikeIm5/runs/3984310512?check_suite_focus=true)

**Potential fix**
Find a way to verify programs that are using `input()`

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reading the GitHub Actions workflow named execute-modified-python-file.yml and reproduce the failure with a modified Python file that calls input(). Investigate how the workflow handles programs that wait for stdin. Done means the action no longer hangs or fails indefinitely for such programs and still verifies modified Python files.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, python
Bereich
ci-cd
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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