add CI/CD to code
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: MRP CI/CD
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Test Backend
|
||||
run: |
|
||||
cd backend
|
||||
go test ./... -v
|
||||
|
||||
-name: Build Full Stack Image
|
||||
run: |
|
||||
docker compose build
|
||||
|
||||
Reference in New Issue
Block a user