-
Notifications
You must be signed in to change notification settings - Fork 18
feat(ci): implement ci pipeline #48
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please kindly review and make the changes
@Bolu1
|
||
- name: Run tests | ||
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... | ||
env: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check previous CI implementation. Use similar strategies, avoid exposing sensitive data in CI implementation
.github/workflows/defifundr-ci.yml
Outdated
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.21' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use version of golang used in the project or upgrade project to current version
.github/workflows/defifundr-ci.yml
Outdated
image: postgres:15-alpine | ||
env: | ||
POSTGRES_USER: root | ||
POSTGRES_PASSWORD: secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Postgres is used but migration test in ci is not done
@@ -0,0 +1,39 @@ | |||
linters: | |||
enable: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reduce sensitivity of linter for now
Hi @demola234, i've made the requested changes can you take a look now |
CI Pipeline Implementation for DefiFundr Backend
Overview
This PR implements a continuous integration (CI) pipeline using GitHub Actions for the DefiFundr backend project. The pipeline automates code quality checks, testing, and build verification on all branches and pull requests.
Changes
Features
Linting
Testing
Build Verification
Documentation
Related Issue
Closes #43