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: Create CI/CD pipeline for testing packaging process; include integration tests #186

Conversation

SoloSynth1
Copy link
Collaborator

@SoloSynth1 SoloSynth1 commented Jun 20, 2024

This PR:

  • adds pytest plugins pytest-cov pytest-dotenv as dev dependencies
  • adds integration tests which are equivalent to running fixml evaluate and fixml generate against 3 github repos (lightfm, group8 and group21)
  • creates a new GitHub Action ci-full.yml to run the integration tests when pushing to main branch.
  • adds extra steps in current CI pipeline to build a wheel file, then to check if it can be installed successfully in a brand new environment.

Now when running pytest, all tests including integration tests would be executed. If you want only to perform unit tests, run pytest -m "not integration". This instruction has been included in README.md.

Please note that this PR is based on changes on #164 as there were some changes in the test folder structure. You might want to review and merge that PR first.

Closes #166.

@SoloSynth1 SoloSynth1 self-assigned this Jun 20, 2024
@SoloSynth1 SoloSynth1 had a problem deploying to integration-testing June 20, 2024 06:05 — with GitHub Actions Failure
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 06:19 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 06:55 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:08 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:13 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:27 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:31 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:35 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 temporarily deployed to integration-testing June 20, 2024 07:39 — with GitHub Actions Inactive
@SoloSynth1 SoloSynth1 marked this pull request as ready for review June 20, 2024 07:53
@SoloSynth1 SoloSynth1 changed the title feat: Create cicd pipeline for testing packaging process include integration tests feat: Create cicd pipeline for testing packaging process; include integration tests Jun 20, 2024
@SoloSynth1 SoloSynth1 changed the title feat: Create cicd pipeline for testing packaging process; include integration tests feat: Create CI/CD pipeline for testing packaging process; include integration tests Jun 20, 2024
@SoloSynth1 SoloSynth1 changed the title feat: Create CI/CD pipeline for testing packaging process; include integration tests ci: Create CI/CD pipeline for testing packaging process; include integration tests Jun 20, 2024
Copy link
Collaborator

@JohnShiuMK JohnShiuMK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, thanks!

@JohnShiuMK JohnShiuMK merged commit bc62670 into main Jun 21, 2024
2 checks passed
@JohnShiuMK JohnShiuMK deleted the 166-create-cicd-pipeline-for-testing-packaging-process-include-integration-tests branch June 21, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create CI/CD pipeline for testing packaging process; Include integration tests
2 participants