Skip to content

CART/e2etest-a-user-add-a-product-to-cart #3960

CART/e2etest-a-user-add-a-product-to-cart

CART/e2etest-a-user-add-a-product-to-cart #3960

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Install Go Swagger CLI
run: go install github.com/swaggo/swag/cmd/[email protected]
- name: Swagger
run: cd mailer-service && swag init; cd -
- name: Build
run: cd mailer-service && go build -v -o app; cd -
- name: Test
run: cd mailer-service && go test -v ./...; cd -
- name: Grant execute perm on cover.sh
run: chmod +x cover.sh
- name: Code coverage test
run: ./cover.sh