diff --git a/.github/workflows/alltests.yml b/.github/workflows/alltests.yml index be88cdd..9ce5999 100644 --- a/.github/workflows/alltests.yml +++ b/.github/workflows/alltests.yml @@ -1,13 +1,12 @@ +# alltests runs the whole test suite name: alltests on: push: branches: - - 'release/**' - schedule: - - cron: "0 7 * * */1" + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 9c7b4f1..899b966 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,10 +1,9 @@ -# android verifies we can still build for Android +# android checks whether we can build for Android name: android on: push: branches: - "release/**" - - "master" jobs: test: runs-on: ubuntu-20.04 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 35ca55f..de2e44d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,3 +1,5 @@ +# CodeQL runs a CodeQL scan. +# # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # @@ -7,12 +9,7 @@ name: "CodeQL" on: push: - branches: [ master, 'release/**' ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] - schedule: - - cron: '35 10 * * 1' + branches: [ "release/**" ] jobs: analyze: @@ -22,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'go' ] + language: [ "go" ] steps: - name: Checkout repository diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b242c76..e9c9af8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,3 +1,4 @@ +# coverage computes the code coverage name: coverage on: pull_request: @@ -6,7 +7,7 @@ on: - "master" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: go: [ "1.16" ] diff --git a/.github/workflows/e2eminiooni.yml b/.github/workflows/e2eminiooni.yml index 5b30ade..dc06539 100644 --- a/.github/workflows/e2eminiooni.yml +++ b/.github/workflows/e2eminiooni.yml @@ -1,15 +1,12 @@ -# Run end-to-end testing using miniooni +# e2eminiooni runs end-to-end tests using miniooni name: "e2eminiooni" on: - pull_request: push: branches: - - master - schedule: - - cron: "25 */8 * * *" + - "master" jobs: test: - runs-on: "ubuntu-latest" + runs-on: "ubuntu-20.04" steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index f763749..2dbb01e 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -1,13 +1,12 @@ +# generate verifies that `go generate ./...` is not broken name: generate on: push: branches: - - 'release/**' - schedule: - - cron: "0 0 * * */1" + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index beb2a46..06e4f13 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -1,10 +1,9 @@ -# ios verifies we can still build for iOS +# ios checks whether we can build for iOS name: ios on: push: branches: - - 'release/**' - - 'master' + - "release/**" jobs: test: runs-on: macos-10.15 diff --git a/.github/workflows/jafar.yml b/.github/workflows/jafar.yml index 57f9b05..bc1578b 100644 --- a/.github/workflows/jafar.yml +++ b/.github/workflows/jafar.yml @@ -2,12 +2,10 @@ name: jafar on: push: branches: - - 'release/**' - schedule: - - cron: "0 5 * * 3" + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/miniooni.yml b/.github/workflows/miniooni.yml index 611fcd1..5089d22 100644 --- a/.github/workflows/miniooni.yml +++ b/.github/workflows/miniooni.yml @@ -1,15 +1,18 @@ # miniooni checks whether we can build the research client miniooni -# and publishes all linux binaries as artefacts. There is no point in +# and publishes the linux binaries as artefacts. There is no point in # publishing windows or darwin binaries b/c they are not signed. name: miniooni on: push: + branches: + - "release/**" jobs: test: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - run: ./make --disable-embedding-psiphon-config -t miniooni + - run: ./CLI/linux/amd64/miniooni --yes -nNi https://example.com web_connectivity - uses: actions/upload-artifact@v1 diff --git a/.github/workflows/qafbmessenger.yml b/.github/workflows/qafbmessenger.yml index 1081e8d..b5b09b2 100644 --- a/.github/workflows/qafbmessenger.yml +++ b/.github/workflows/qafbmessenger.yml @@ -1,13 +1,12 @@ +# qafbmessenger runs QA checks for the fbmessenger experiment name: "qafbmessenger" on: push: branches: - - 'release/**' - schedule: - - cron: "0 3 * * */1" + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/qahhfm.yml b/.github/workflows/qahhfm.yml index 02427f2..37ee2de 100644 --- a/.github/workflows/qahhfm.yml +++ b/.github/workflows/qahhfm.yml @@ -1,13 +1,12 @@ +# qahhfm runs QA checks for the hhfm experiment name: "qahhfm" on: - schedule: - - cron: "5 3 * * */1" push: branches: - - 'release/**' + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/qahirl.yml b/.github/workflows/qahirl.yml index 0e18e97..f65e9e3 100644 --- a/.github/workflows/qahirl.yml +++ b/.github/workflows/qahirl.yml @@ -1,13 +1,12 @@ +# qahirl runs QA checks for the hirl experiment name: "qahirl" on: - schedule: - - cron: "10 3 * * */1" push: branches: - - 'release/**' + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/qatelegram.yml b/.github/workflows/qatelegram.yml index 5a58593..3d410cb 100644 --- a/.github/workflows/qatelegram.yml +++ b/.github/workflows/qatelegram.yml @@ -1,13 +1,12 @@ +# qatelegram runs QA checks for the telegram experiment name: "qatelegram" on: - schedule: - - cron: "15 3 * * */1" push: branches: - - 'release/**' + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/qawebconnectivity.yml b/.github/workflows/qawebconnectivity.yml index 217f775..d5f36f8 100644 --- a/.github/workflows/qawebconnectivity.yml +++ b/.github/workflows/qawebconnectivity.yml @@ -1,13 +1,12 @@ +# qawebconnectivity runs QA checks for the webconnectivity experiment name: "qawebconnectivity" on: push: branches: - - 'release/**' - schedule: - - cron: "20 3 * * */1" + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/qawhatsapp.yml b/.github/workflows/qawhatsapp.yml index 1331649..24b6b4a 100644 --- a/.github/workflows/qawhatsapp.yml +++ b/.github/workflows/qawhatsapp.yml @@ -1,13 +1,12 @@ +# qawhatsapp runs QA checks for the whatsapp experiment name: "qawhatsapp" on: - schedule: - - cron: "25 3 * * */1" push: branches: - - 'release/**' + - "release/**" jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v1 with: diff --git a/.github/workflows/shorttests.yml b/.github/workflows/shorttests.yml deleted file mode 100644 index 3ade3d5..0000000 --- a/.github/workflows/shorttests.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: shorttests -on: - pull_request: - push: - branches: - - "master" -jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - go: [ "1.16" ] - steps: - - uses: actions/setup-go@v1 - with: - go-version: "${{ matrix.go }}" - - uses: actions/checkout@v2 - - run: go test -short -race -tags shaping ./...