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/ci test job #20

Merged
merged 18 commits into from
Aug 17, 2023
Merged

Feat/ci test job #20

merged 18 commits into from
Aug 17, 2023

Conversation

dhommen
Copy link

@dhommen dhommen commented Aug 7, 2023

Changes Proposed:
Added GitHub Actions workflow for running unit tests on multiple branches.

Description:
This pull request introduces a new GitHub Actions workflow named "test" that is triggered on pull requests targeting the master, beta, alpha, and development branches. The workflow is designed to perform unit testing on the Clearing House application using Rust.

Workflow Steps:

  1. Checkout Code: The workflow starts by checking out the code from the pull request repository using the actions/checkout action.

  2. Set up Rust: The Rust programming language environment is set up using the actions-rs/toolchain action. The stable Rust toolchain is selected for consistency and compatibility.

  3. Build and Test: Within the clearing-house-app directory, the workflow performs the following tasks:

    • It builds the application using the cargo build command while displaying verbose output.
    • It runs unit tests using the cargo test command with the --verbose flag for detailed output.

Impact:
This workflow enhances the development process by automating the execution of unit tests for the Clearing House application across various important branches. It ensures that code changes introduced through pull requests do not introduce regressions and maintains the stability of the application.

Testing:
The workflow has been tested locally and verified to execute as expected. It successfully builds the application and runs unit tests, providing detailed feedback on any failures or errors encountered.

Notes:
The introduction of this GitHub Actions workflow contributes to the overall improvement of code quality and reliability within the Clearing House project. It aligns with best practices for continuous integration and enhances the team's ability to detect and address issues early in the development process.

@dhommen dhommen added this to the Milestone 1 (Stability) milestone Aug 7, 2023
@dhommen dhommen self-assigned this Aug 7, 2023
@dhommen dhommen changed the base branch from alpha to development August 8, 2023 17:23
schoenenberg and others added 14 commits August 16, 2023 18:18
- Separated rocket-handler and LoggingService method, so that a http server replacement becomes easier and the architecture becomes more modular.
- Added ports module, where the rocket-handler code will be moved in the next commits
- Added forbid(unsafe_code) in every crate
@dhommen dhommen marked this pull request as ready for review August 16, 2023 16:27
@dhommen dhommen requested a review from schoenenberg August 16, 2023 16:35
@dhommen dhommen merged commit eb2ea18 into development Aug 17, 2023
@jannotti-glaucio jannotti-glaucio deleted the feat/ci-test-job branch January 28, 2024 21:31
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.

2 participants