Skip to content

Update repository URLs and package names #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG VERSION
FROM golang:1.18.1-alpine as builder
RUN apk add --no-cache git gcc musl-dev make
ENV GO111MODULE=on
WORKDIR /go/src/moul.io/testman
WORKDIR /go/src/github.com/comnoco/testman/v2
COPY go.* ./
RUN go mod download
COPY . ./
Expand All @@ -18,7 +18,7 @@ FROM alpine:3.16.0
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="testman" \
org.label-schema.description="" \
org.label-schema.url="https://moul.io/testman/" \
org.label-schema.url="https://github.com/comnoco/testman/v2/" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/moul/testman" \
org.label-schema.vendor="Manfred Touron" \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOPKG ?= moul.io/testman
GOPKG ?= github.com/comnoco/testman/v2
DOCKER_IMAGE ?= moul/testman
GOMOD_DIRS ?= .
GOBINS ?= .
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

😎 `go test` wrapper for advanced testing workflows in Go

[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/moul.io/testman)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/comnoco/testman/v2)
[![License](https://img.shields.io/badge/license-Apache--2.0%20%2F%20MIT-%2397ca00.svg)](https://github.com/moul/testman/blob/master/COPYRIGHT)
[![GitHub release](https://img.shields.io/github/release/moul/testman.svg)](https://github.com/moul/testman/releases)
[![Docker Metrics](https://images.microbadger.com/badges/image/moul/testman.svg)](https://microbadger.com/images/moul/testman)
Expand All @@ -13,7 +13,7 @@
[![PR](https://github.com/moul/testman/workflows/PR/badge.svg)](https://github.com/moul/testman/actions?query=workflow%3APR)
[![GolangCI](https://golangci.com/badges/github.com/moul/testman.svg)](https://golangci.com/r/github.com/moul/testman)
[![codecov](https://codecov.io/gh/moul/testman/branch/master/graph/badge.svg)](https://codecov.io/gh/moul/testman)
[![Go Report Card](https://goreportcard.com/badge/moul.io/testman)](https://goreportcard.com/report/moul.io/testman)
[![Go Report Card](https://goreportcard.com/badge/github.com/comnoco/testman/v2)](https://goreportcard.com/report/github.com/comnoco/testman/v2)
[![CodeFactor](https://www.codefactor.io/repository/github/moul/testman/badge)](https://www.codefactor.io/repository/github/moul/testman)


Expand Down Expand Up @@ -79,12 +79,12 @@ FLAGS
### Using go

```console
$ go get -u moul.io/testman
$ go get -u github.com/comnoco/testman/v2
```

### Releases

See https://github.com/moul/testman/releases
See https://github.com/comnoco/testman/releases

## Contribute

Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
// |/ | | \ \ / / ' \/ _ \/ // / / |
// || | | | | | /_/_/_/\___/\_,_/_/ |
// +--------------------------------------------------------------+
package main // import "moul.io/testman"
package main // import "github.com/comnoco/testman/v2"
2 changes: 1 addition & 1 deletion examples/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions examples/testdata/expected.continue-on-error.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ok moul.io/testman/examples/testpkg.TestStableAlwaysSucceed
ok moul.io/testman/examples/testpkg.TestUnstableMaySucceed
FAIL moul.io/testman/examples/testpkg.TestBrokenAlwaysFailing [test error: exit status 1]
ok moul.io/testman/examples/testpkg.ExampleAlwaysSucceed
ok github.com/comnoco/testman/v2/examples/testpkg.TestStableAlwaysSucceed
ok github.com/comnoco/testman/v2/examples/testpkg.TestUnstableMaySucceed
FAIL github.com/comnoco/testman/v2/examples/testpkg.TestBrokenAlwaysFailing [test error: exit status 1]
ok github.com/comnoco/testman/v2/examples/testpkg.ExampleAlwaysSucceed
EXIT CODE: 1
2 changes: 1 addition & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func ExampleList_examples() {
err := run([]string{"testman", "list", "./..."})
checkErr(err)
// Output:
// moul.io/testman/examples/testpkg
// github.com/comnoco/testman/v2/examples/testpkg
// TestStableAlwaysSucceed
// TestUnstableMaySucceed
// TestBrokenAlwaysFailing
Expand All @@ -35,7 +35,7 @@ func ExampleList() {
panic(err)
}
// Output:
// moul.io/testman
// github.com/comnoco/testman/v2
// TestRun
// ExampleList_examples
// ExampleList
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"_comment": "this project is not a node.js one, package.json is just used to define some metadata",
"name": "@moul.io/testman",
"version": "0.0.1",
"name": "@github.com/comnoco/testman/v2",
"version": "2.0.4",
"author": "Manfred Touron <[email protected]> (https://manfred.life)",
"contributors": [
"Manfred Touron <[email protected]> (https://manfred.life)"
"Manfred Touron <[email protected]> (https://manfred.life)",
"Tom O'Connor <[email protected]> (https://comnoco.com)"
],
"license": "(Apache-2.0 OR MIT)",
"scripts": {
Expand All @@ -14,8 +15,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/moul/testman.git"
"url": "https://github.com/comnoco/testman.git"
},
"bugs": "https://github.com/moul/testman/issues",
"homepage": "https://moul.io/testman"
"bugs": "https://github.com/comnoco/testman/issues",
"homepage": "https://github.com/comnoco/testman/"
}
Loading