Skip to content

Commit

Permalink
tests: fix coverage and e2e tests
Browse files Browse the repository at this point in the history
Fix coverage tests cloning the submodule with examples data to use on
tests and update the expected vulnerabilities from npm tests.

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
  • Loading branch information
matheusalcantarazup committed Oct 11, 2021
1 parent d6283f0 commit df01001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-go@v2
with:
go-version: 1.17
Expand Down
2 changes: 1 addition & 1 deletion e2e/scan_languages/scan_languages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestHorusecCLI(t *testing.T) {
{
name: "JavascriptNPM",
target: filepath.Join("javascript", "example1"),
vulnerabilies: 31,
vulnerabilies: 29,
},
{
name: "JavascriptYarn",
Expand Down

0 comments on commit df01001

Please sign in to comment.