add CI/CD to code
This commit is contained in:
1 parent
679c8286ed
commit
627c6baaab
2 files changed
+19
No files matched your search
@@ -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
|
||||||
|
|
||||||
Whitespace-only changes.
Reference in new issue
Block a user