fix: add missing files causing tests to fail (#202)
* fix: add missing files causing tests to fail See https://github.com/ooni/probe/issues/1335#issuecomment-771559718 * fix: toggle verbose so we better understand the tests output
This commit is contained in:
parent
d57c78bc71
commit
47dd063b77
2
.github/workflows/golang.yml
vendored
2
.github/workflows/golang.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- uses: shogo82148/actions-goveralls@v1
|
||||||
with:
|
with:
|
||||||
path-to-profile: probe-cli.cov
|
path-to-profile: probe-cli.cov
|
||||||
|
|
19
.gitignore
vendored
19
.gitignore
vendored
|
@ -1,10 +1,11 @@
|
||||||
/ooniprobe.exe
|
|
||||||
/ooniprobe
|
|
||||||
/coverage.cov
|
|
||||||
/testdata/gotmp
|
|
||||||
*.jsonl
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.tar.gz
|
/*.jsonl
|
||||||
*.zip
|
/*.tar.gz
|
||||||
ooniprobe_checksums.txt
|
/*.zip
|
||||||
ooniprobe_checksums.txt.asc
|
/coverage.cov
|
||||||
|
/ooniprobe
|
||||||
|
/ooniprobe.exe
|
||||||
|
/ooniprobe_checksums.txt
|
||||||
|
/ooniprobe_checksums.txt.asc
|
||||||
|
/probe-cli.cov
|
||||||
|
/testdata/gotmp
|
||||||
|
|
1
internal/engine/MOBILE/android/.gitignore
vendored
Normal file
1
internal/engine/MOBILE/android/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
internal/engine/MOBILE/ios/.gitignore
vendored
Normal file
1
internal/engine/MOBILE/ios/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
internal/engine/internal/fsx/testdata/.gitignore
vendored
Normal file
1
internal/engine/internal/fsx/testdata/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
internal/engine/internal/fsx/testdata/testfile.txt
vendored
Normal file
1
internal/engine/internal/fsx/testdata/testfile.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
my test input
|
1
internal/engine/internal/psiphonx/private/.gitignore
vendored
Normal file
1
internal/engine/internal/psiphonx/private/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/psiphon.gz
|
2
internal/engine/resources/private/.gitignore
vendored
Normal file
2
internal/engine/resources/private/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/asn.mmdb.gz
|
||||||
|
/country.mmdb.gz
|
1
internal/engine/testdata/collector-expected.jsonl
vendored
Normal file
1
internal/engine/testdata/collector-expected.jsonl
vendored
Normal file
|
@ -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"}}
|
Loading…
Reference in New Issue
Block a user