OG-Core icon indicating copy to clipboard operation
OG-Core copied to clipboard

[WIP, DON'T MERGE] Update automatic versioning

Open rickecon opened this issue 1 year ago • 1 comments

This PR:

  • Adds the following files for automatic versioning, .github/changelog_template.md, .github/get-changelog-diff.sh, .github/has-functional-changes.sh, .github/is-version-number-acceptable.sh, .github/publish-git-tag.sh, ``
  • Adds "Check version" job to build_and_test.yml GH Action.
  • Renames code formatting GH Action from check_black.yml to check_format.yml and updated the actions within.
  • Adds "Update versioning, tag, and release steps to publish_to_pypi.yml GH Action on push to master branch. (This does not currently work. Need to fix the release step.
  • Adds three new functions to Makefile
  • Adds starting changelog.yaml.
  • Updates contributor_guide.md.
  • Updates README.md.
  • Removes hard reference to version number in ./ogcore/__init__.py so that the version reference automatically updates.

cc: @jdebacker

rickecon avatar Jun 14 '24 04:06 rickecon

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.12%. Comparing base (4ea91c9) to head (25ae97d). Report is 60 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #940   +/-   ##
=======================================
  Coverage   70.12%   70.12%           
=======================================
  Files          20       20           
  Lines        5047     5048    +1     
=======================================
+ Hits         3539     3540    +1     
  Misses       1508     1508           
Flag Coverage Δ
unittests 70.12% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
ogcore/__init__.py 100.00% <100.00%> (ø)
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Jul 28 '24 17:07 codecov-commenter