Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-codec-dagpb
Commits
bd342633
Unverified
Commit
bd342633
authored
Feb 25, 2021
by
github-actions[bot]
Committed by
GitHub
Feb 25, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7 from ipld/ipldbot/update-go-test
parents
5d8af1ac
19ade58a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
.github/workflows/go-test.yml
.github/workflows/go-test.yml
+3
-5
No files found.
.github/workflows/go-test.yml
View file @
bd342633
...
...
@@ -9,7 +9,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
"
ubuntu"
,
"
windows"
,
"
macos"
]
go
:
[
"
1.1
4
.x"
,
"
1.1
5
.x"
]
go
:
[
"
1.1
5
.x"
,
"
1.1
6
.x"
]
runs-on
:
${{ matrix.os }}-latest
name
:
Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps
:
...
...
@@ -21,8 +21,6 @@ jobs:
run
:
|
go version
go env
-
name
:
Install dependencies
run
:
go install ./...
-
name
:
Run tests
run
:
go test -v -coverprofile coverage.txt ./...
-
name
:
Run tests (32 bit)
...
...
@@ -35,12 +33,12 @@ jobs:
run
:
go test -v -race ./...
-
name
:
Check if codecov.yml exists
# only upload to Codecov if there's a codecov.yml
id
:
check_codecov
uses
:
andstor/file-existence-action@
v
1
uses
:
andstor/file-existence-action@
87d74d4732ddb824259d80c8a508c0124bf1c673
# v1.0.
1
with
:
files
:
"
codecov.yml"
-
name
:
Upload coverage to Codecov
if
:
steps.check_codecov.outputs.files_exists == 'true'
uses
:
codecov/codecov-action@
v
1
uses
:
codecov/codecov-action@
e156083f13aff6830c92fc5faa23505779fbf649
# v1.2.
1
with
:
file
:
coverage.txt
env_vars
:
OS=${{ matrix.os }}, GO=${{ matrix.go }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment