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: set up CI/CD workflows #34

Open
5 of 6 tasks
anuragxxd opened this issue May 24, 2023 · 5 comments
Open
5 of 6 tasks

ci: set up CI/CD workflows #34

anuragxxd opened this issue May 24, 2023 · 5 comments
Labels
type: ci / cd Related to continuous integration / delivery type flag: meta Generic issue that will spawn more specific issues

Comments

@anuragxxd
Copy link
Member

anuragxxd commented May 24, 2023

Please describe your issue.

As part of improving our development workflow and ensuring a streamlined process for Continuous Integration (CI) and Continuous Deployment/Delivery (CD), we should consider implementing the necessary tools and practices in our project.

Additional context

Some of the tasks to follow are:

Acknowledgement

We thank you for your valuable contribution and would like to acknowledge it
on our contributors page. To help us with that, we would like
to kindly request that you help us with this by commenting on this issue with
a request to the @all-contributors bot of the form
@all-contributors please add @YOUR_GH_HANDLE for TYPE_1, TYPE_2, ..., where
TYPE_1 etc. refer to contribution types supported by the All Contributors
Specification
.

@anuragxxd anuragxxd changed the title Github Actions for CI/CD feat: continuous integration and continuous deployment May 24, 2023
@uniqueg uniqueg changed the title feat: continuous integration and continuous deployment feat: continuous integration May 24, 2023
@uniqueg uniqueg changed the title feat: continuous integration feat: continuous integration & deployment May 24, 2023
@uniqueg uniqueg added priority: high High priority status: new Has not been triaged by admin type: ci / cd Related to continuous integration / delivery labels May 24, 2023
@uniqueg
Copy link
Member

uniqueg commented May 24, 2023

I think this is very high priority!

We don't necessarily need to address all of the listed aspects in a first draft, but having some automated testing/validation etc. is always better than none.

I would propose @git-anurag-hub or @SalihuDickson to take on a first GitHub Actions workflow ASAP.

@anuragxxd
Copy link
Member Author

Cool! I will take it as parent of this is also assigned to me!

@anuragxxd anuragxxd self-assigned this May 26, 2023
@uniqueg
Copy link
Member

uniqueg commented May 28, 2023

Let's leave this open and unassigned and have people assign the individual issues to themselves.

@uniqueg uniqueg removed priority: high High priority status: new Has not been triaged by admin labels May 28, 2023
@uniqueg uniqueg changed the title feat: continuous integration & deployment ci: set up CI/CD workflows May 28, 2023
@uniqueg uniqueg added the type flag: meta Generic issue that will spawn more specific issues label May 28, 2023
@anuragxxd anuragxxd moved this to Todo in ecc-components Jun 9, 2023
@anuragxxd anuragxxd moved this from Todo to In Progress in ecc-components Jun 20, 2023
@JaeAeich
Copy link
Contributor

JaeAeich commented Sep 4, 2023

@git-anurag-hub @uniqueg Hey how will Calculate and report test coverage be done, can I try it out? Maybe you can give me some resources on how to get this setup 😅 because I kinda don't know how this will even work out.

@uniqueg
Copy link
Member

uniqueg commented Sep 5, 2023

Basically, the idea is that in the CI we will use a test runner that will discover and run all tests for the repository, then compute the code coverage and report it (e.g., via CodeCov).

I don't know what a good test runner for JS/TS projects is, but perhaps this is one: https://about.codecov.io/blog/measuring-typescript-code-coverage-with-jest-and-github-actions/

@git-anurag-hub or @SalihuDickson may know better, I just extrapolated from the process we use for Python projects, where we use pytest as the test runner to run all tests in the tests/ directory (discovery is based on naming conventions).

@anuragxxd anuragxxd moved this from In Progress to Done in ecc-components Jan 12, 2025
@anuragxxd anuragxxd moved this from Done to In Progress in ecc-components Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: ci / cd Related to continuous integration / delivery type flag: meta Generic issue that will spawn more specific issues
Projects
Status: In Progress
Development

No branches or pull requests

3 participants