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

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from

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 12022165401

Details

  • 94 of 166 (56.63%) changed or added relevant lines in 3 files are covered.
  • 26 unchanged lines in 9 files lost coverage.
  • Overall coverage decreased (-0.06%) to 91.127%

Changes Missing Coverage Covered Lines Changed/Added Lines %
chia/cmds/gh.py 59 131 45.04%
Files with Coverage Reduction New Missed Lines %
chia/server/server.py 1 81.9%
chia/wallet/wallet_node.py 1 88.18%
chia/util/files.py 2 91.38%
chia/timelord/timelord_launcher.py 2 90.71%
chia/server/node_discovery.py 3 81.28%
chia/rpc/rpc_server.py 3 88.51%
chia/server/ws_connection.py 4 88.15%
chia/full_node/weight_proof.py 4 90.48%
chia/full_node/full_node.py 6 86.05%
Totals Coverage Status
Change from base Build 12016365364: -0.06%
Covered Lines: 103568
Relevant Lines: 113452

💛 - 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
Copy link
Contributor

github-actions bot commented Dec 3, 2024

File Coverage Missing Lines
chia/cmds/gh.py 45.0% lines 31, 43, 51, 53-54, 56, 58-59, 61-62, 64, 69, 118, 120-122, 129-131, 133-135, 137, 139, 141, 144-145, 147-150, 152-158, 160, 162, 164-165, 168-170, 172-173, 192-194, 196, 198-201, 204, 217, 221, 231-236, 238, 240-241, 245, 252-255
Total Missing Coverage
166 lines 72 lines 56%

@altendky altendky marked this pull request as draft December 3, 2024 20:59
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 coverage-diff 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.

2 participants