Skip to content
Open
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
5 changes: 2 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ jobs:
- run: |
tail -n +2 ${TEST_COVERAGE_FILE} | while read line; do
if [[ "$(echo "${line##* }")" == "0" ]]; then
file_name=$(echo -n "${line}" | cut -d: -f1)
file_name=$(echo -n "${line}" | cut -d: -f1 | sed 's|github.com/canonical/chisel/||g')
line_number=$(echo -n "${line}" | cut -d: -f2 | cut -d. -f1)
column_number=$(echo -n "${line}" | cut -d. -f2 | cut -d, -f1)
echo "::warning file=$file_name,line=$line_number,col=$column_number::Not tested"
echo "::warning file=$file_name,line=$line_number::Not tested"
fi
done

Expand Down
4 changes: 2 additions & 2 deletions internal/apachetestutil/manifest.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

// test
package apachetestutil

import (
Expand All @@ -15,13 +15,13 @@
Contents []*manifest.Content
}

func DumpManifestContents(c *check.C, mfest *manifest.Manifest) *ManifestContents {

Check warning on line 18 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested

Check warning on line 18 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested
var slices []*manifest.Slice
err := mfest.IterateSlices("", func(slice *manifest.Slice) error {

Check warning on line 20 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested

Check warning on line 20 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested
slices = append(slices, slice)
return nil
})
c.Assert(err, check.IsNil)
c.Assert(err, check.IsNil) // testme

Check warning on line 24 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested

Check warning on line 24 in internal/apachetestutil/manifest.go

View workflow job for this annotation

GitHub Actions / Unit Tests

Not tested

var pkgs []*manifest.Package
err = mfest.IteratePackages(func(pkg *manifest.Package) error {
Expand Down
2 changes: 1 addition & 1 deletion internal/cache/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package cache_test

// foo
import (
. "gopkg.in/check.v1"

Expand Down
Loading