Skip to content

Add GH action workflow for integration tests #96

Add GH action workflow for integration tests

Add GH action workflow for integration tests #96

name: Golang CI Workflow
on: push
jobs:
ci:
runs-on: ubuntu-latest
env:
GO_VERSION: "1.17"
COVERAGE_PROFILE_OUTPUT_LOCATION: "./profile.cov"
steps:
- name: Checkout code / lint code / install dependencies for goveralls / run tests
uses: uc-cdis/.github/.github/actions/golang-ci@master
with:
COVERAGE_PROFILE_OUTPUT_LOCATION: ${{ env.COVERAGE_PROFILE_OUTPUT_LOCATION }}
- name: Send coverage to coveralls using goveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=${{ env.COVERAGE_PROFILE_OUTPUT_LOCATION }} -service=github