ubsuny / 23-Homework4G3

Apache License 2.0
0 stars 11 forks source link

Unit test GitHub Actions #14

Closed yasmensarhan27 closed 11 months ago

yasmensarhan27 commented 11 months ago

hello, @AhmedCode99

can you please add the code we use in the repository as a .py file not imported from Jupyter notebooks.

the GitHub actions first can't find test.py ERROR: file or directory not found: tests.py 19

and once I changed the filename in the unit-test GitHub action after creating a new branch I got this error: ERROR: found no collectors for /home/runner/work/23-Homework4G3/23-Homework4G3/projectile_motion.ipynb 19

AhmedCode99 commented 11 months ago

@yasmensarhan27 Done. The file is called projectile_module.py. It has only one function called projectile_with_drag(). This function only has one input, which is the initial velocity in m/s.