Add GitHub action to run unit tests on pull requestwqa`
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
name: Supermarket-API CI Pipeline
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v1
|
||||
- run: make unit-test
|
||||
Reference in New Issue
Block a user