mega icon indicating copy to clipboard operation
mega copied to clipboard

Issue with action-rs: Failed Tests Due to Git LFS Data Not Being Downloaded

Open genedna opened this issue 1 year ago • 0 comments

I've encountered this while using action-rs in the GitHub Actions workflow. The problem revolves around cargo tests and their interaction with test data managed via Git LFS (Large File Storage).

When running cargo tests as part of the CI pipeline using action-rs, the test data stored with Git LFS is not downloaded. This leads to failures in tests that rely on these large data files. Impact: The tests that depend on LFS-tracked files fail due to their unavailability, significantly impacting the reliability of our CI process.

  1. Action-rs Maintenance Status: Action-rs has entered a maintenance phase. Consequently, there is no active issue tracking or patching for this action.
  2. Potential Replacement: I've identified a potential alternative action, Build Rust projects with Cross, which seems like it could be a suitable replacement for action-rs.
  3. Temporary Workaround in #243: As an interim measure, the functionality cargo test --workspace has been removed in #243. This necessitates manual verification of each PR before merge, adding to the workflow complexity and potential for error.

genedna avatar Nov 19 '23 13:11 genedna