diff --git a/.github/workflows/unitTests.yml b/.github/workflows/unitTests.yml new file mode 100644 index 000000000..5a73e7aae --- /dev/null +++ b/.github/workflows/unitTests.yml @@ -0,0 +1,16 @@ +name: Unit Tests +on: [push] +jobs: + Run-All: + runs-on: ubuntu-latest + steps: + - name: Repo Code Checkout + uses: actions/checkout@v3 + + - name: Golang Setup + uses: actions/setup-go@v3 + with: + go-version: 1.18 + + - run: echo "Running {{ github.repository }} deployment unit tests." + - run: go test ./... \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..0bb7a7299 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module alcionai/corso + +go 1.18 diff --git a/src/corso.go b/src/corso.go new file mode 100644 index 000000000..6e7112d88 --- /dev/null +++ b/src/corso.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello, Corso") +} diff --git a/src/corso_test.go b/src/corso_test.go new file mode 100644 index 000000000..f421004df --- /dev/null +++ b/src/corso_test.go @@ -0,0 +1,7 @@ +package main + +import "testing" + +func TestDemo(t *testing.T) { + t.Log("Hello, test.") +}