Closed osmart closed 4 years ago
Raw build log shows for some reason, the blank requirements.txt not picked up:
2020-02-09T16:58:20.9441118Z commit 4b61a77e38c59e8927c900ee2cfb3611310c59b9
2020-02-09T16:58:20.9442442Z Author: Oliver Smart <oliver.s.smart@gmail.com>
2020-02-09T16:58:20.9443251Z Date: Sun Feb 9 16:54:47 2020 +0000
2020-02-09T16:58:20.9443487Z
2020-02-09T16:58:20.9443779Z Blank requirements.txt for GitHub Actions #2
2020-02-09T16:58:20.9444163Z
2020-02-09T16:58:20.9444447Z Previous commit failed
2020-02-09T16:58:20.9445567Z ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
But pytest is being run:
2020-02-09T16:58:25.4073317Z Successfully installed attrs-19.3.0 more-itertools-8.2.0 packaging-20.1 pluggy-0.13.1 py-1.8.1 pyparsing-2.4.6 pytest-5.3.5 six-1.14.0 wcwidth-0.1.8
2020-02-09T16:58:25.6881937Z ============================= test session starts ==============================
2020-02-09T16:58:25.6900694Z platform linux -- Python 3.8.1, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
2020-02-09T16:58:25.6901849Z rootdir: /home/runner/work/forking_exercise/forking_exercise
2020-02-09T16:58:25.7171104Z collected 0 items / 1 error
2020-02-09T16:58:25.7563686Z
2020-02-09T16:58:25.7610265Z ==================================== ERRORS ====================================
2020-02-09T16:58:25.7644651Z _______________________ ERROR collecting test_people.py ________________________
2020-02-09T16:58:25.7645336Z ImportError while importing test module '/home/runner/work/forking_exercise/forking_exercise/test_people.py'.
2020-02-09T16:58:25.7645454Z Hint: make sure your test modules/packages have valid Python names.
2020-02-09T16:58:25.7645549Z Traceback:
2020-02-09T16:58:25.7645615Z test_people.py:2: in <module>
2020-02-09T16:58:25.7645702Z from people import setup_people
2020-02-09T16:58:25.7645965Z E ModuleNotFoundError: No module named 'people'
2020-02-09T16:58:25.7646117Z !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2020-02-09T16:58:25.7646204Z =============================== 1 error in 0.10s ===============================
2020-02-09T16:58:25.7781369Z ##[error]Process completed with exit code 2.
Good failure is now in pytest - that does fail locally
Latest commit fa8e117 passes pytest and get green tick sorted issue GitHub Actions pretty easy.
Could add a badge but let's leave that.
Do not have Travis account for ARU-Bioinf-ISE (yet).
There is a new GitHub Actions feature that is an alternative. Try it out
In Actions button above: