Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Jan 4, 2025
1 parent 930dd9b commit 691665a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -v -race -coverprofile coverage.txt -covermode=atomic ./...
- run: go test -race -coverprofile coverage.txt -covermode=atomic ./...
- run: go tool cover -func ./coverage.txt
# Check build without CGO
- run: go build ./cmd/actionlint
Expand Down
4 changes: 4 additions & 0 deletions linter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ func TestLinterLintOK(t *testing.T) {
if strings.Contains(f, "pyflakes") && pyflakes == "" {
t.Skip("skipping", f, "because \"pyflakes\" command does not exist in system")
}
t.Logf("shellcheck is %q", shellcheck)
t.Logf("pyflakes is %q", pyflakes)

opts := LinterOptions{
Shellcheck: shellcheck,
Expand Down Expand Up @@ -193,6 +195,8 @@ func TestLinterLintError(t *testing.T) {
}
o.Pyflakes = pyflakes
}
t.Logf("shellcheck is %q", shellcheck)
t.Logf("pyflakes is %q", pyflakes)

l, err := NewLinter(io.Discard, &o)
if err != nil {
Expand Down

0 comments on commit 691665a

Please sign in to comment.