JeffDeCola/my-go-examples

View on GitHub
ci/tasks/task-unit-tests.yml

Summary

Maintainability
Test Coverage
# my-go-examples task-unit-tests.yml

platform: linux

# DOCKER BASE IMAGE FOR TASKS (BASED ON ALPINE, A SMALLER LINUX DISTRIBUTION)
image_resource:
  type: docker-image
  source:
    repository: golang
    tag: 1.20.1

inputs:
  - name: my-go-examples

outputs:
  - name: coverage-results

run:
  path: ./my-go-examples/ci/scripts/unit-tests.sh
  # args: [-debug]