You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function pyveg/src/file_utils.py::get_tags() should produce a meaningful version string, when operating without a full git clone.
Actual behaviour
The function pyveg/src/file_utils.py::get_tags(), calls the subprocess git describe --tags.
This generates the error message (sterr): fatal: No names found, cannot describe anything.
The function pyveg/src/file_utils.py::get_tags() returns an empty string.
Note:
The scenario occurs when running testing in GitHub Actions, where shallow clones are the default.
The text was updated successfully, but these errors were encountered:
(Note: This issue was initially opened here urbangrammarai#19)
How to reproduce
1). Make a shallow clone of the git repo:
2). Run a unit test which
Expect behaviour
The function
pyveg/src/file_utils.py::get_tags()
should produce a meaningful version string, when operating without a full git clone.Actual behaviour
The function
pyveg/src/file_utils.py::get_tags()
, calls the subprocessgit describe --tags
.This generates the error message (sterr):
fatal: No names found, cannot describe anything.
The function
pyveg/src/file_utils.py::get_tags()
returns an empty string.Note:
The scenario occurs when running testing in GitHub Actions, where shallow clones are the default.
The text was updated successfully, but these errors were encountered: