Skip to content

Refactor git to add more errors, tests and specific GitHub Actions error#679

Merged
mergify[bot] merged 1 commit intonektos:masterfrom
catthehacker:cat/fix/git-short-sha-error
May 8, 2021
Merged

Refactor git to add more errors, tests and specific GitHub Actions error#679
mergify[bot] merged 1 commit intonektos:masterfrom
catthehacker:cat/fix/git-short-sha-error

Conversation

@catthehacker
Copy link
Member

refactor: return more errors, add more tests
adding more tests
returns same message for short SHA format like GitHub Actions
refactor error checking
add more errors :)
image

@catthehacker catthehacker requested a review from a team as a code owner May 8, 2021 01:25
@codecov
Copy link

codecov bot commented May 8, 2021

Codecov Report

Merging #679 (3172d33) into master (0f04942) will increase coverage by 0.74%.
The diff coverage is 60.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #679      +/-   ##
==========================================
+ Coverage   49.27%   50.01%   +0.74%     
==========================================
  Files          23       23              
  Lines        2401     2523     +122     
==========================================
+ Hits         1183     1262      +79     
- Misses       1090     1124      +34     
- Partials      128      137       +9     
Impacted Files Coverage Δ
pkg/container/docker_run.go 1.82% <0.00%> (-0.11%) ⬇️
pkg/model/workflow.go 30.71% <33.33%> (+5.00%) ⬆️
pkg/common/git.go 55.12% <33.92%> (-4.68%) ⬇️
pkg/model/planner.go 34.56% <41.37%> (+1.48%) ⬆️
pkg/container/docker_pull.go 36.17% <64.70%> (+17.98%) ⬆️
pkg/runner/step_context.go 72.00% <73.77%> (+3.05%) ⬆️
pkg/runner/run_context.go 77.54% <94.54%> (+1.14%) ⬆️
pkg/runner/runner.go 76.92% <100.00%> (+0.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc4e23d...3172d33. Read the comment docs.

@mergify
Copy link
Contributor

mergify bot commented May 8, 2021

@catthehacker this pull request has failed checks 🛠

@mergify mergify bot added the needs-work Extra attention is needed label May 8, 2021
adding more tests
returns same message for short SHA format like GitHub Actions
refactor error checking
add more errors :)
@catthehacker catthehacker force-pushed the cat/fix/git-short-sha-error branch from 665ef1f to 3172d33 Compare May 8, 2021 01:30
@mergify mergify bot removed the needs-work Extra attention is needed label May 8, 2021
@mergify mergify bot merged commit aa68181 into nektos:master May 8, 2021
@catthehacker catthehacker deleted the cat/fix/git-short-sha-error branch May 20, 2021 08:35
@catthehacker catthehacker mentioned this pull request Nov 13, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants