This PR reverts the test coverage workflow to the previous version because the latest version requires a codecov token to be set as a secret in the repo. If not, it will fail and generate the following error message:
==> Running command '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit'
/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov create-commit --git-service github -Z
info - 2024-07-07 21:52:46,949 -- ci service found: github-actions
Error: Error: Codecov token not found. Please provide Codecov token with -t flag.
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
This PR reverts the test coverage workflow to the previous version because the latest version requires a codecov token to be set as a secret in the repo. If not, it will fail and generate the following error message: