Skip to content

test(goa_test.go): update test to reflect changes in fetchGOAs functi… #76

test(goa_test.go): update test to reflect changes in fetchGOAs functi…

test(goa_test.go): update test to reflect changes in fetchGOAs functi… #76

Workflow file for this run

name: Continuos integration
on:
push:
branches:
- develop
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis:7.0.12-alpine
ports:
- 6379/tcp
steps:
- name: set up golang
uses: actions/setup-go@v5
with:
go-version: '~1.21.5'
- name: check out code
uses: actions/checkout@v4
- name: unit test
run: go test -covermode=atomic -coverprofile=profile.cov -v ./...
env:
REDIS_SERVICE_HOST: localhost
REDIS_SERVICE_PORT: ${{ job.services.redis.ports[6379] }}
GOPROXY: https://proxy.golang.org
- name: upload coverage to codecov
uses: codecov/codecov-action@v4
with:
file: ./profile.cov
call-docker-build:
needs: test
uses: dictyBase/workflows/.github/workflows/docker-build-push.yaml@develop
secrets: inherit
with:
repository: ${{ github.repository }}
ref: ${{ github.ref_name }}