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
coverage.json file cannot be commited to the repository. Please note that I have removed it from an active PR that I am working on. This step then results in the following message in GitHub Actions:
Run poetry run python scripts/badges.py
poetry run python scripts/badges.py
shell: /usr/bin/bash -e {0}
env:
COLUMNS: 1[2](https://github.com/GatorEducator/execexam/actions/runs/11959763261/job/33342265041?pr=54#step:10:2)0
PYTHONIOENCODING: utf8
pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/GatorEducator/execexam/actions/runs/11959763261/job/33342265041?pr=54#step:10:3).12.7/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.7/x6[4](https://github.com/GatorEducator/execexam/actions/runs/11959763261/job/33342265041?pr=54#step:10:4)/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.7/x[6](https://github.com/GatorEducator/execexam/actions/runs/11959763261/job/33342265041?pr=54#step:10:6)4
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.[7](https://github.com/GatorEducator/execexam/actions/runs/11959763261/job/33342265041?pr=54#step:10:7)/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.7/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.7/x64/lib
Error: /home/runner/work/execexam/execexam/scripts/../coverage.json not found.
This is not breaking the build. However, it is showing that coverage is no longer updating correctly.
With that said, it is critical to point out that the coverage.json file is a derived file and we cannot include it inside of the GitHub repository.
Describe the bug
The bug is that we currently don't ignore the
coverage.json
file so it is getting uploaded to GitHub where it is large.To Reproduce
Steps to reproduce the behavior:
poetry run task coverage
git add
git push
Expected behavior
We should not have the
coverage.json
file on GitHub because it is large. Our badges should not rely on thecoverage.json
fileDesktop (please complete the following information):
ALL OS
The text was updated successfully, but these errors were encountered: