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

Add GitHub Actions Workflow for Testing #182

Closed
wants to merge 1 commit into from

Conversation

JaeHyuckSa
Copy link

@JaeHyuckSa JaeHyuckSa commented Aug 17, 2024

Description

This PR introduces a Continuous Integration (CI) workflow that runs automated tests and checks code coverage across multiple Python versions (3.8 through 3.12). The workflow is triggered on push events to the main branch, on pull requests, and when a release is published. It also includes a workflow_dispatch trigger for manual execution. The workflow uses a matrix strategy to test the code across different Python versions and shards, ensuring broad compatibility and efficient parallel testing.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Refactoring, Maintenance
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Signed-off-by: SaJH <wogur981208@gmail.com>
@JaeHyuckSa JaeHyuckSa changed the title Add GitHub Actions Workflow for Testing Add GitHub Actions Workflow for Testing #181 Aug 17, 2024
@JaeHyuckSa JaeHyuckSa changed the title Add GitHub Actions Workflow for Testing #181 Add GitHub Actions Workflow for Testing Aug 17, 2024
@JaeHyuckSa
Copy link
Author

If you would like to add code coverage using Codecov as mentioned in the issue, I can include it in the workflow. However, please note that you will need to set the Codecov token in the repository secrets to enable this integration.

@soimkim soimkim added the enhancement [PR/Issue] New feature or request label Aug 18, 2024
@soimkim soimkim added chore [PR/Issue] Refactoring, maintenance the code and removed enhancement [PR/Issue] New feature or request labels Aug 18, 2024
@soimkim
Copy link
Contributor

soimkim commented Aug 18, 2024

Test 팀에서 진행하는 PR인가요? 'ㅅ ' ) ???
https://github.com/fosslight/fosslight_util/blob/main/.github/workflows/pull-request.yml에서 python 버전 추가하는 것과 동일해보입니다.

@JaeHyuckSa
Copy link
Author

Test 팀에서 진행하는 PR인가요? 'ㅅ ' ) ??? https://github.com/fosslight/fosslight_util/blob/main/.github/workflows/pull-request.yml에서 python 버전 추가하는 것과 동일해보입니다.

넵 테스트 팀에서 진행하는 것입니다

@JaeHyuckSa
Copy link
Author

JaeHyuckSa commented Aug 18, 2024

Test 팀에서 진행하는 PR인가요? 'ㅅ ' ) ??? https://github.com/fosslight/fosslight_util/blob/main/.github/workflows/pull-request.yml에서 python 버전 추가하는 것과 동일해보입니다.

해당 부분 수정하도록 하겠습니다 :) @soimkim 한가지 궁금한게 있습니다 혹시 test coverage를 사용할 때 tox에서 정의된 테스트 명령어를 바탕으로 coverage를 해야되는 부분일까요?

@soimkim
Copy link
Contributor

soimkim commented Oct 10, 2024

#189 반영되어 본 이슈는 close합니다.

@soimkim soimkim closed this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore [PR/Issue] Refactoring, maintenance the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate Code Coverage Measurement and Codecov Upload in PR and Release Workflows
2 participants