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 20 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
Contributor

File Coverage Missing Lines
chia/cmds/gh.py 59.0% lines 15, 50-52, 54, 56-57, 60-62, 64, 66, 88-91
Total Missing Coverage
41 lines 16 lines 60%

Copy link

Pull Request Test Coverage Report for Build 11964183445

Details

  • 25 of 41 (60.98%) changed or added relevant lines in 2 files are covered.
  • 52 unchanged lines in 10 files lost coverage.
  • Overall coverage decreased (-0.03%) to 91.155%

Changes Missing Coverage Covered Lines Changed/Added Lines %
chia/cmds/gh.py 23 39 58.97%
Files with Coverage Reduction New Missed Lines %
chia/_tests/simulation/test_simulation.py 1 96.45%
chia/daemon/server.py 1 83.22%
chia/plotters/plotters.py 1 90.94%
chia/wallet/wallet_node.py 1 88.33%
chia/full_node/full_node.py 2 86.2%
chia/rpc/rpc_server.py 3 88.51%
chia/full_node/weight_proof.py 4 90.48%
chia/plotters/madmax.py 6 44.58%
chia/timelord/timelord.py 11 78.8%
chia/_tests/core/util/test_lockfile.py 22 77.31%
Totals Coverage Status
Change from base Build 11962414890: -0.03%
Covered Lines: 103407
Relevant Lines: 113244

💛 - Coveralls

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.

1 participant