An open API service indexing awesome lists of open source software.

https://github.com/andriykalashnykov/gotest

Go test project
https://github.com/andriykalashnykov/gotest

cli github-actions go golang makefile

Last synced: 3 months ago
JSON representation

Go test project

Awesome Lists containing this project

README

          

[![Go](https://github.com/AndriyKalashnykov/gotest/actions/workflows/ci.yml/badge.svg)](https://github.com/AndriyKalashnykov/gotest/actions/workflows/ci.yml)
[![Release Go project](https://github.com/AndriyKalashnykov/gotest/actions/workflows/release.yml/badge.svg)](https://github.com/AndriyKalashnykov/gotest/actions/workflows/release.yml)
[![codecov](https://codecov.io/gh/AndriyKalashnykov/gotest/branch/master/graph/badge.svg?token=Q12E11KJ74)](https://codecov.io/gh/AndriyKalashnykov/gotest)
[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc)](https://open.vscode.dev/AndriyKalashnykov/gotest)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FAndriyKalashnykov%2Fgotest&count_bg=%2333CD56&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)

# Test project in Go

## Requirements

- [gvm](https://github.com/moovweb/gvm) Go 1.23
```bash
gvm install go1.23--prefer-binary --with-build-tools --with-protobuf
gvm use go1.23--default

## Installation

### Binaries

You can find prebuilt `gotest` binaries on the [releases page](https://github.com/AndriyKalashnykov/gotest/releases).

You can download and install a binary locally like this:

```bash
./hack/get-gotest.sh
```

### Source

#### Native Go installation:

To build `gotest` from source, first install the [Go
toolchain](https://golang.org/dl/). You can then install the latest `gotest` from
Github using:

```bash
$ go install github.com/AndriyKalashnykov/gotest@latest
```

### Build from sources

```bash
git clone git@github.com:AndriyKalashnykov/gotest.git
cd gotest
docker run --rm -v `pwd`:/host golang:1.23bash -c "cd /host && go build ."
```

### Create release

Create release

```bash
make release
```

### TODO:

* [random-standup](https://github.com/jidicula/random-standup/tree/main/.github/workflows)
* [create-go-app/cli](https://github.com/create-go-app/cli)