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

CI improvements #3298

Merged
merged 12 commits into from
Nov 22, 2021
Merged

CI improvements #3298

merged 12 commits into from
Nov 22, 2021

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Nov 10, 2021

What type of PR is this?

  • bug
  • feature
  • enhancement

What does this PR do?

  • It fixes gherkin-fmt so that it doesn't yield an error during GitHub Workflow lint CI.
  • It gives users the output of gherkin-fmt so that they don't have to install it locally

Which issue(s)/PR(s) this PR relates to?

#3297

Special notes for your reviewer, ex. impact of this fix, etc:

Additional context:

Checklist:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatible (If it is incompatible, please describe it and add corresponding label.)
  • Need to cherry-pick (If need to cherry-pick to some branches, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

Please confirm whether to reflect in release notes and how to describe:

                                                            `

@CLAassistant
Copy link

CLAassistant commented Nov 10, 2021

CLA assistant check
All committers have signed the CLA.

@jackwener jackwener added community Source: who proposed the issue type/enhancement Type: make the code neat or more efficient ready-for-testing PR: ready for the CI test and removed ready-for-testing PR: ready for the CI test labels Nov 10, 2021
@yixinglu yixinglu added the ready-for-testing PR: ready for the CI test label Nov 11, 2021
jsoref and others added 3 commits November 11, 2021 01:42
Use GITHUB_BASE_REF because a PR can easily have more than one commit:
https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables

Switch CLANG_HOME handling to support debian/ubuntu installed clang-format
or a user's installation at some other location.

Install clang-format-10 if it isn't installed in CI (this is mostly
for nektos/act where images might be thinner than the GitHub standard).
@jsoref jsoref changed the title Ci improvements CI improvements Nov 11, 2021
In order to see what changes this PR is making,
we need to get the base commit.
@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2021

Codecov Report

Merging #3298 (cb5f8e5) into master (4dd4a26) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3298      +/-   ##
==========================================
- Coverage   85.29%   85.23%   -0.07%     
==========================================
  Files        1289     1289              
  Lines      119969   119981      +12     
==========================================
- Hits       102329   102264      -65     
- Misses      17640    17717      +77     
Impacted Files Coverage Δ
src/graph/planner/match/MatchClausePlanner.cpp 98.82% <100.00%> (+0.01%) ⬆️
src/graph/validator/MatchValidator.cpp 86.44% <100.00%> (-0.08%) ⬇️
src/meta/processors/parts/GetSpaceProcessor.cpp 60.60% <0.00%> (-18.19%) ⬇️
src/meta/processors/BaseProcessor.h 75.67% <0.00%> (-16.22%) ⬇️
src/graph/executor/StorageAccessExecutor.h 66.66% <0.00%> (-11.54%) ⬇️
src/graph/context/Result.cpp 85.00% <0.00%> (-9.45%) ⬇️
src/common/thrift/ThriftClientManager-inl.h 82.97% <0.00%> (-6.39%) ⬇️
src/graph/planner/Planner.cpp 75.00% <0.00%> (-5.00%) ⬇️
src/storage/exec/FilterNode.h 92.00% <0.00%> (-4.00%) ⬇️
src/common/thread/GenericWorker.h 92.30% <0.00%> (-3.85%) ⬇️
... and 23 more

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 c50145d...cb5f8e5. Read the comment docs.

@yixinglu yixinglu merged commit f449c17 into vesoft-inc:master Nov 22, 2021
@jsoref jsoref deleted the ci-improvements branch November 22, 2021 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Source: who proposed the issue ready-for-testing PR: ready for the CI test type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants