Skip to content

Commit ea92380

Browse files
committed
GitHub Actions
Migrating from Travis to GHA.
1 parent b9275f4 commit ea92380

File tree

4 files changed

+19
-39
lines changed

4 files changed

+19
-39
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,20 @@ on:
1212
- main
1313

1414
jobs:
15-
unit-test:
16-
name: unit-test
15+
test:
16+
name: test
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v3
20+
with:
21+
submodules: recursive
2022
- uses: ./.github/actions/setup
23+
24+
- shell: bash
25+
run: make build
26+
27+
- shell: bash
28+
run: make test-unit
29+
30+
- shell: bash
31+
run: make test-e2e

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<p align="center">
2-
<a alt="GoReport" href="https://goreportcard.com/report/github.com/otaviof/path-helper">
3-
<img alt="GoReport" src="https://goreportcard.com/badge/github.com/otaviof/path-helper">
2+
<a alt="GitHub Actions CI" href="https://github.com/otaviof/path-helper/actions">
3+
<img src="https://github.com/otaviof/path-helper/actions/workflows/test.yaml/badge.svg">
44
</a>
5-
<a alt="Code Coverage" href="https://codecov.io/gh/otaviof/path-helper">
6-
<img alt="Code Coverage" src="https://codecov.io/gh/otaviof/path-helper/branch/master/graph/badge.svg">
5+
<a alt="go.pkg.dev project documentation" href="https://pkg.go.dev/mod/github.com/otaviof/path-helper">
6+
<img src="https://img.shields.io/badge/go.pkg.dev-docs-007d9c?logo=go&logoColor=white">
77
</a>
8-
<a href="https://godoc.org/github.com/otaviof/path-helper/pkg/path-helper">
9-
<img alt="GoDoc Reference" src="https://godoc.org/github.com/otaviof/path-helper/pkg/path-helper?status.svg">
10-
</a>
11-
<a alt="CI Status" href="https://travis-ci.com/otaviof/path-helper">
12-
<img alt="CI Status" src="https://travis-ci.com/otaviof/path-helper.svg?branch=master">
8+
<a alt="goreportcard.com project report" href="https://goreportcard.com/report/github.com/otaviof/path-helper">
9+
<img src="https://goreportcard.com/badge/github.com/otaviof/path-helper">
1310
</a>
1411
</p>
1512

hack/install-bats.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)