Skip to content

Commit

Permalink
fix: add missing files causing tests to fail (#202)
Browse files Browse the repository at this point in the history
* fix: add missing files causing tests to fail

See ooni/probe#1335 (comment)

* fix: toggle verbose so we better understand the tests output
  • Loading branch information
bassosimone committed Feb 2, 2021
1 parent d57c78b commit 47dd063
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v2
- run: go test -race -tags shaping -v -coverprofile=probe-cli.cov -coverpkg=./... ./...
- run: go test -race -tags shaping -coverprofile=probe-cli.cov -coverpkg=./... ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: probe-cli.cov
Expand Down
17 changes: 9 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/ooniprobe.exe
/ooniprobe
.DS_Store
/*.jsonl
/*.tar.gz
/*.zip
/coverage.cov
/ooniprobe
/ooniprobe.exe
/ooniprobe_checksums.txt
/ooniprobe_checksums.txt.asc
/probe-cli.cov
/testdata/gotmp
*.jsonl
.DS_Store
*.tar.gz
*.zip
ooniprobe_checksums.txt
ooniprobe_checksums.txt.asc
1 change: 1 addition & 0 deletions internal/engine/MOBILE/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions internal/engine/MOBILE/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions internal/engine/internal/fsx/testdata/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions internal/engine/internal/fsx/testdata/testfile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
my test input
1 change: 1 addition & 0 deletions internal/engine/internal/psiphonx/private/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/psiphon.gz
2 changes: 2 additions & 0 deletions internal/engine/resources/private/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/asn.mmdb.gz
/country.mmdb.gz
1 change: 1 addition & 0 deletions internal/engine/testdata/collector-expected.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"format":"json","content":{"data_format_version":"0.2.0","id":"bdd20d7a-bba5-40dd-a111-9863d7908572","input":null,"measurement_start_time":"2018-11-01 15:33:20","probe_asn":"AS0","probe_cc":"ZZ","probe_ip":"1.2.3.4","probe_network_name":"","report_id":"_id","resolver_asn":"AS15169","resolver_ip":"8.8.8.8","resolver_network_name":"Google LLC","software_name":"ooniprobe-engine","software_version":"0.1.0","test_keys":{"failure":null},"test_name":"dummy","test_runtime":5.0565230846405,"test_start_time":"2018-11-01 15:33:17","test_version":"0.1.0"}}

0 comments on commit 47dd063

Please sign in to comment.