Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Aug 6, 2020

Motivation:

Often contributors miss out license checks, have formatting issues or
haven't generated linux tests. Let's bring these checks up front and
make sure they're done before we run any tests.

Modifications:

  • Add a "Preflight Checks" stage to CI
  • Add a sanity script which currently just checks license headers; we
    can add other checks later.

Result:

  • We have a way to check non-code related things before checking
    functional changes

@glbrntt glbrntt marked this pull request as draft August 6, 2020 16:13
@glbrntt glbrntt force-pushed the gb-preflight branch 7 times, most recently from 15d0354 to f9b1901 Compare August 7, 2020 14:26
Motivation:

Often contributors miss out license checks, have formatting issues or
haven't generated linux tests. Let's bring these checks up front and
make sure they're done before we run any tests.

Modifications:

- Add a "Preflight Checks" stage to CI
- Add a sanity script which currently just checks license headers; we
  can add other checks later. Note that in CI this is called via
  .travis-script.sh as it sets up the environment (setting up PATH etc.t)
- Add building and caching SwiftFormat to the install step, it's not
  used yet but will be later.
- Fix a bunch of shellcheck issues
- Replaces some travis environment variables with flags

Result:

- We have a way to check non-code related things before checking
  functional changes
@glbrntt glbrntt marked this pull request as ready for review August 7, 2020 15:07
@glbrntt glbrntt added the semver/none No version bump required. label Aug 7, 2020
@glbrntt glbrntt requested a review from Lukasa August 7, 2020 15:07
@glbrntt glbrntt merged commit 1f64ba4 into grpc:main Aug 7, 2020
@glbrntt glbrntt deleted the gb-preflight branch August 7, 2020 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants