Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Coverage #54

Merged
merged 13 commits into from
May 24, 2024
Merged

Code Coverage #54

merged 13 commits into from
May 24, 2024

Commits on May 22, 2024

  1. Add code coverage

    The ci.yml updates add a commit to PRs. I tested this locally using `act` as best I could, but ran into an issue that I think will resolve when running on the real runner (undefined head). We'll see how it works when the workflows actually run ...
    ColeDCrawford committed May 22, 2024
    Configuration menu
    Copy the full SHA
    48a9b02 View commit details
    Browse the repository at this point in the history
  2. Create coverage_readme.yml

    The new workflow adds a badge to the readme based on coverage for Python 3.12.
    ColeDCrawford committed May 22, 2024
    Configuration menu
    Copy the full SHA
    09b10d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac4705f View commit details
    Browse the repository at this point in the history
  4. Fix matrix

    ColeDCrawford committed May 22, 2024
    Configuration menu
    Copy the full SHA
    9f2b550 View commit details
    Browse the repository at this point in the history
  5. Try adding permissions

    ColeDCrawford committed May 22, 2024
    Configuration menu
    Copy the full SHA
    0eeb9bd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a02fcd View commit details
    Browse the repository at this point in the history
  7. Run CI on push too

    aweakley committed May 22, 2024
    5 Configuration menu
    Copy the full SHA
    54d5ec7 View commit details
    Browse the repository at this point in the history
  8. 3 Configuration menu
    Copy the full SHA
    0b92096 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. 3 Configuration menu
    Copy the full SHA
    6428196 View commit details
    Browse the repository at this point in the history
  2. 3 Configuration menu
    Copy the full SHA
    b8fdbef View commit details
    Browse the repository at this point in the history
  3. Remove all junit-xml items from printed report

    (for now at least..)
    aweakley committed May 23, 2024
    5 Configuration menu
    Copy the full SHA
    f262199 View commit details
    Browse the repository at this point in the history
  4. Add back JUnit reporting stats

    - Switch to using pytest-django to run the Django tests, as that has JUnit support. Add Django settings as a flag rather than in pyproject.toml because defining it there makes the normal pytest run fail since it can't find the module.
    - Adds a simple script using junitparser to combine the two JUnit XML files.
    ColeDCrawford committed May 23, 2024
    Configuration menu
    Copy the full SHA
    5d3d80c View commit details
    Browse the repository at this point in the history
  5. Skip covered due to long comments

    ```
    File read successfully "/home/runner/work/python-edtf/python-edtf/./combined_junit_pytest.xml"
    Warning: Your comment is too long (maximum is 65536 characters), coverage report will not be added.
    Warning: Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode
    ```
    ColeDCrawford committed May 23, 2024
    4 Configuration menu
    Copy the full SHA
    6771172 View commit details
    Browse the repository at this point in the history