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

[Meta] No CI Workflow for Lint/Test #85

Open
iBotPeaches opened this issue Apr 22, 2022 · 2 comments
Open

[Meta] No CI Workflow for Lint/Test #85

iBotPeaches opened this issue Apr 22, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@iBotPeaches
Copy link

So I forked the project yesterday to add some missing parameters and I ran yarn run all to make sure my cloned copy before starting was passing tests, etc.

The command failed.

➜  action-release git:(master) yarn run all 
yarn run v1.22.17
$ yarn run format && yarn run lint && yarn run build && yarn test
$ prettier --write **/*.ts
__tests__/main.test.ts 130ms
src/cli.ts 14ms
src/main.ts 10ms
src/options.ts 18ms
$ eslint src/**/*.ts

/Volumes/Nexus/Github/action-release/src/cli.ts
  1:20  error  'SentryCliReleases' is defined but never used  @typescript-eslint/no-unused-vars

✖ 1 problem (1 error, 0 warnings)

So then I wondered how PRs were getting merged. They don't seem to be running lints or tests at all. The test workflow just runs the action itself in MOCK mode. Was it an oversight that no CI workflow actually runs and enforces Linting/Testing?

@leeandher
Copy link
Member

@iBotPeaches Thanks for pointing this out. This repository hasn't seen much attention in a while and I'm willing to guess that the test suite or tests themselves are simply out of date. I noticed it as well when merging a docs PR yesterday, in which CI failed.

I've added a ticket in our backlog for our team to add proper tests and repair the flaky CI.

Was it an oversight that no CI workflow actually runs and enforces Linting/Testing?

As to this point, I can't speak to the intentions of the test workflow as it was originally authored, but I do share your concerns that we should have proper linting/tests to run prior to making any changes. I will link out to this issue in our internal ticket and hopefully raise its priority. Thanks for notifying us!

@smeubank
Copy link
Member

consider as well: #147

@smeubank smeubank added the enhancement New feature or request label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants