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

add chia dev gh test for launching configured test runs #18922

Merged
merged 30 commits into from
Dec 19, 2024
Merged

Conversation

altendky
Copy link
Contributor

@altendky altendky commented Nov 22, 2024

Purpose:

Usage: chia dev gh test [OPTIONS]

  Allows easy triggering and viewing of test workflow runs in CI including
  configuration of parameters.  If a ref is specified then it must exist on
  the remote and a run will be launched for it.  If ref is not specified then
  the local HEAD will be pushed to a temporary remote branch and a run will be
  launched for that.  There is no need to push the local commit first.  The
  temporary remote branch will automatically be deleted in most cases.

  After launching the workflow run GitHub will be queried for the run and the
  URL will be opened in the default browser.

Options:
  -r, --remote TEXT               Name of git remote  [default: origin]
  --full-python-matrix / --default-python-matrix
                                  Run on all Python versions  [default:
                                  default-python-matrix]
  --os [linux|macos-arm|macos-intel|windows]
                                  Operating systems to run on  [default:
                                  linux, macos-arm, macos-intel, windows]
  -d, --duplicates INTEGER        Number of duplicates  [default: 1]
  -o, --only PATH                 Only run this item, a file or directory
                                  depending on --per
  -p, --per [directory|file]      Per  [default: directory]
  -f, --ref TEXT                  Branch or tag name (commit SHA not
                                  supported), if not specified will push HEAD
                                  to a temporary branch
  -r, --repository TEXT           Repository name  [default: chia-blockchain]
  -o, --owner TEXT                Owner of the repo  [default: Chia-Network]
  -h, --help                      Show this message and exit.

Current Behavior:

New Behavior:

Testing Notes:

Draft For:

@altendky altendky added Added Required label for PR that categorizes merge commit message as "Added" for changelog Exclude_Notes Use this label if the changes in the PR should be excluded from the release notes labels Nov 22, 2024
Copy link

coveralls-official bot commented Nov 22, 2024

Pull Request Test Coverage Report for Build 12319012666

Details

  • 101 of 183 (55.19%) changed or added relevant lines in 3 files are covered.
  • 38 unchanged lines in 8 files lost coverage.
  • Overall coverage decreased (-0.07%) to 91.445%

Changes Missing Coverage Covered Lines Changed/Added Lines %
chia/cmds/gh.py 63 145 43.45%
Files with Coverage Reduction New Missed Lines %
chia/daemon/client.py 1 74.58%
chia/full_node/full_node_api.py 2 82.86%
chia/timelord/timelord_launcher.py 2 89.29%
chia/server/server.py 4 81.9%
chia/server/node_discovery.py 5 81.28%
chia/full_node/full_node.py 6 86.5%
chia/server/address_manager.py 7 90.48%
chia/timelord/timelord.py 11 78.8%
Totals Coverage Status
Change from base Build 12301024853: -0.07%
Covered Lines: 104805
Relevant Lines: 114415

💛 - Coveralls

@altendky altendky marked this pull request as ready for review December 3, 2024 01:53
@altendky altendky requested a review from a team as a code owner December 3, 2024 01:53
@altendky altendky requested a review from emlowe December 3, 2024 01:54
emlowe
emlowe previously approved these changes Dec 3, 2024
@altendky altendky marked this pull request as draft December 3, 2024 20:59
@altendky altendky marked this pull request as ready for review December 13, 2024 15:57
@altendky altendky requested a review from a team as a code owner December 13, 2024 15:57
@altendky altendky requested a review from emlowe December 13, 2024 15:59
Copy link
Contributor

File Coverage Missing Lines
chia/cmds/gh.py 43.4% lines 32, 36-38, 40-41, 43, 55, 63, 65-66, 68, 70-71, 73-74, 76, 80-81, 83, 85-88, 93, 143, 145-147, 154-156, 158-160, 162, 164, 166, 169-170, 172-175, 177-184, 186, 188, 190-191, 194-196, 198-201, 221, 234, 238, 248-253, 255-256, 258-259, 261, 265, 272-275
Total Missing Coverage
183 lines 82 lines 55%

@pmaslana pmaslana merged commit b6b4ea1 into main Dec 19, 2024
362 of 363 checks passed
@pmaslana pmaslana deleted the chia_dev_gh_test branch December 19, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added Required label for PR that categorizes merge commit message as "Added" for changelog Exclude_Notes Use this label if the changes in the PR should be excluded from the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants