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 action to run unittest #65

Merged
merged 3 commits into from
Feb 26, 2024
Merged

Conversation

laserkelvin
Copy link
Contributor

@laserkelvin laserkelvin commented Feb 26, 2024

Related issues

Partially addresses #47, adding unittest as part of checks.

Proposed changes

  • Add a Github action to run unittest after installing CBI
  • Supports Python version matrix, which can be updated later to add more Python versions to test against

Currently because of #63 one of the tests (test_cbiconfig_file) will fail.

Signed-off-by: Lee, Kin Long Kelvin <[email protected]>
@laserkelvin laserkelvin added the enhancement New feature or request label Feb 26, 2024
.github/workflows/run-unittest.yml Outdated Show resolved Hide resolved
.github/workflows/run-unittest.yml Outdated Show resolved Hide resolved
.github/workflows/run-unittest.yml Show resolved Hide resolved
Tests will only trigger based on changes to specific files, and
affects both push and pull request actions

Signed-off-by: Lee, Kin Long Kelvin <[email protected]>
@Pennycook Pennycook merged commit e39448a into intel:main Feb 26, 2024
1 check passed
@Pennycook
Copy link
Contributor

Let's see what happens... 🤞

@laserkelvin laserkelvin deleted the ci-unit-tests branch February 26, 2024 18:33
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.

2 participants