Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: add api integration test for ci_cd_token allowlist#2797

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

TimKnight-DWP
Copy link
Contributor

Adding api integration test based off my percieved understanding of the underlying gitlab api and the design as currently documented in the open PR

renovatebotand others added15 commitsJanuary 26, 2024 14:39
* fix(cli): allow exclusive arguments as optionalThe CLI takes its arguments from the RequiredOptional, which has three fields: required, optional, and exclusive. In practice, the exclusive options are not defined as either required or optional, and would not be allowed in the CLI. This changes that, so that exclusive options are also added to the argument parser.  * fix(cli): inform argument parser that options are mutually exclusive  * fix(cli): use correct exclusive options, add unit testClosespython-gitlab#2769
The version of `black` needs to be updated to be in sync with what isin `requirements-lint.txt`
@TimKnight-DWPTimKnight-DWP marked this pull request as ready for reviewFebruary 13, 2024 16:17
@TimKnight-DWPTimKnight-DWP changed the base branch fromfeat/job-token-scope-allowlist tomainFebruary 14, 2024 09:53
@TimKnight-DWPTimKnight-DWPforce-pushed thefeat/job-token-scope-allowlist branch 2 times, most recently from748f4cd toff9e76cCompareFebruary 14, 2024 10:47
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
@TimKnight-DWPTimKnight-DWPforce-pushed thefeat/job-token-scope-allowlist branch fromff9e76c to4203becCompareFebruary 14, 2024 11:04
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
@TimKnight-DWPTimKnight-DWP changed the base branch frommain tofeat/job-token-scope-allowlistFebruary 14, 2024 11:33
@codecovCodecov
Copy link

codecovbot commentedFeb 14, 2024

Codecov Report

Attention:6 lines in your changes are missing coverage. Please review.

Comparison is base(72e1aa7) 88.25% compared to head(e2cae65) 96.45%.
Report is 1 commits behind head on feat/job-token-scope-allowlist.

Additional details and impacted files
@@                        Coverage Diff                         @@##           feat/job-token-scope-allowlist    #2797      +/-   ##==================================================================+ Coverage                           88.25%   96.45%   +8.19%==================================================================  Files                                  90       90                Lines                                5866     5888      +22     ==================================================================+ Hits                                 5177     5679     +502+ Misses                                689      209     -480
FlagCoverage Δ
api_func_v482.21% <51.72%> (?)
cli_func_v483.54% <68.96%> (?)
unit88.24% <79.31%> (-0.01%)⬇️

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

FilesCoverage Δ
gitlab/_backends/protocol.py92.85% <100.00%> (+11.60%)⬆️
gitlab/client.py98.58% <ø> (+4.03%)⬆️
gitlab/v4/cli.py91.69% <100.00%> (+43.57%)⬆️
gitlab/v4/objects/artifacts.py100.00% <ø> (+10.34%)⬆️
gitlab/v4/objects/audit_events.py100.00% <ø> (ø)
gitlab/v4/objects/branches.py100.00% <100.00%> (+8.69%)⬆️
gitlab/v4/objects/deployments.py93.10% <ø> (ø)
gitlab/v4/objects/features.py100.00% <ø> (+31.57%)⬆️
gitlab/v4/objects/merge_requests.py89.18% <ø> (+18.91%)⬆️
gitlab/v4/objects/projects.py98.78% <ø> (ø)
... and6 more

... and37 files with indirect coverage changes

@TimKnight-DWP
Copy link
ContributorAuthor

Relates to:#2767

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@TimKnight-DWP@nejch@Sjord@JohnVillalovos@maxnoe@1ace

[8]ページ先頭

©2009-2025 Movatter.jp