Skip to content

Merge pull request #120 from dictyBase/dependabot/go_modules/github.c… #225

Merge pull request #120 from dictyBase/dependabot/go_modules/github.c…

Merge pull request #120 from dictyBase/dependabot/go_modules/github.c… #225

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- develop
pull_request:
branches-ignore:
- master
jobs:
test:
runs-on: ubuntu-20.04
services:
arangodb:
image: arangodb:3.6.3
env:
ARANGO_ROOT_PASSWORD: rootpass
ports:
- 8529/tcp
steps:
- name: set up golang
uses: actions/setup-go@v4
with:
go-version: 1.20.4
- name: check out code
uses: actions/checkout@v3
- name: unit test
run: go test -covermode=atomic -coverprofile=profile.cov -v ./...
env:
ARANGO_USER: root
ARANGO_PASS: rootpass
ARANGO_HOST: localhost
ARANGO_PORT: ${{ job.services.arangodb.ports[8529] }}
GOPROXY: https://proxy.golang.org
- name: upload coverage to codecov
uses: codecov/codecov-action@v3
with:
file: ./profile.cov