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

feat: add support for Code Climate GitHub Action #1

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

amalv
Copy link
Owner

@amalv amalv commented Oct 15, 2023

This commit adds support for the Code Climate GitHub Action to the project. The codeclimate.yml file has been updated to include a test-report job that runs tests and generates a coverage report using npm and vitest, and uploads the coverage report to Code Climate using the paambaati/codeclimate-action GitHub Action.

The coverage directory has also been added to the .gitignore file to prevent test coverage reports from being committed to the repository.

@amalv amalv added the enhancement New feature or request label Oct 15, 2023
@amalv amalv self-assigned this Oct 15, 2023
@amalv amalv force-pushed the feat/codeclimate-action branch 7 times, most recently from b08733f to 7a1fcac Compare October 15, 2023 22:04
…brary

This commit adds support for the Code Climate GitHub Action and React Testing Library to the project.

The `codeclimate.yml` file has been updated to include a `codeclimate` job that runs tests and generates a coverage report using `npm` and `vitest`, and uploads the coverage report to Code Climate using the `paambaati/codeclimate-action` GitHub Action.

The `coverage` directory has also been added to the `.gitignore` file to prevent test coverage reports from being committed to the repository.

In addition, a test for the `App` component has been added to `src/App.test.tsx` using React Testing Library.

This commit also includes the addition of two badges for Code Climate to the `README.md` file.
@codeclimate
Copy link

codeclimate bot commented Oct 15, 2023

Code Climate has analyzed commit b850851 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 100.0%.

View more on Code Climate.

@amalv amalv merged commit ebdd859 into main Oct 16, 2023
4 checks passed
@amalv amalv deleted the feat/codeclimate-action branch October 16, 2023 18:07
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

Successfully merging this pull request may close these issues.

1 participant