ooni-probe-cli/.github/workflows
Simone Basso f0927ea00c
ci: master only runs coverage and only with go1.17 (+ fix flaky test) (#452)
* fix: disable debianrepo build on master branch

This just mitigates https://github.com/ooni/probe/issues/1741 and does
not fully address it, but I'd rather avoid delving into this problem until
I open a release/v3.11.0 branch and have to really fix this issue.

* fix: only run coverage using go1.17

This is the version of Go with which we are going to bless v3.11.0
therefore it's the only version of Go that matters.

Reference issue: https://github.com/ooni/probe/issues/1738.

* fix(ptx/obfs4_test.go): avoid context-vs-normal-code race

We want to test whether we get the context failure if the error
generated inside normal code happens _after_ the context cancellation.

The best way to do that is to write code that is not racy. To this
end, we just need to pause normal code until we know that the context
has returned to the caller. We also need to ensure we do not leak
a goroutine, hence we use a WaitGroup to check that.

Fixes https://github.com/ooni/probe/issues/1750
2021-09-05 12:44:44 +02:00
..
alltests.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
android.yml refactor: replace ./make (python3) with ./mk (makefile) (#343) 2021-05-11 16:15:13 +02:00
codeql-analysis.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
coverage.yml ci: master only runs coverage and only with go1.17 (+ fix flaky test) (#452) 2021-09-05 12:44:44 +02:00
debianrepo.yml ci: master only runs coverage and only with go1.17 (+ fix flaky test) (#452) 2021-09-05 12:44:44 +02:00
generate.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
ios.yml refactor: replace ./make (python3) with ./mk (makefile) (#343) 2021-05-11 16:15:13 +02:00
jafar.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
linux.yml fix(debian): make sure we can publish all archs (#350) 2021-05-19 13:54:19 +02:00
macos.yml refactor: reorganize and to end and smoke testing (#348) 2021-05-13 18:04:47 +02:00
miniooni.yml refactor: reorganize and to end and smoke testing (#348) 2021-05-13 18:04:47 +02:00
oohelperd.yml oohelperd packaging and CI (#374) 2021-06-15 15:53:22 +02:00
qafbmessenger.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
qahhfm.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
qahirl.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
qatelegram.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
qawebconnectivity.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
qawhatsapp.yml refactor(.github/workflows): reorganize many builds (#332) 2021-05-06 19:56:55 +02:00
windows.yml refactor: reorganize and to end and smoke testing (#348) 2021-05-13 18:04:47 +02:00