Skip to content

Commit

Permalink
Add github action to run go unit tests (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossf7 authored Dec 7, 2020
1 parent ed4c07f commit bbae1f9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/go-unit-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: go-unit-test
on: [push]
jobs:
go-unit-test:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Go test
run: go test ./...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![GoDoc](https://godoc.org/github.com/thegreenwebfoundation/grid-intensity-go?status.svg)](http://godoc.org/github.com/thegreenwebfoundation/grid-intensity-go) ![go-unit-test](https://github.com/thegreenwebfoundation/grid-intensity-go/workflows/go-unit-test/badge.svg)

# grid-intensity-go

A tool written in go, designed to be integrated into kubernetes, nomad, and other schedulers, to help you factor carbon intensity into decisions about where and when to run jobs.
Expand Down

0 comments on commit bbae1f9

Please sign in to comment.