refactor: enable QA tests and jafar self test (#208)

* refactor: enable QA tests and jafar self test

Part of https://github.com/ooni/probe/issues/1335

* chore: make sure all workflows run on release branches
This commit is contained in:
Simone Basso 2021-02-03 13:20:37 +01:00 committed by GitHub
parent 4eeadd06a5
commit 0c48bc0746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 18 additions and 3 deletions

View File

@ -1,5 +1,8 @@
name: jafar
on:
push:
branches:
- 'release/**'
schedule:
- cron: "0 5 * * 3"
jobs:
@ -10,5 +13,5 @@ jobs:
with:
go-version: "1.14"
- uses: actions/checkout@v2
- run: go build -v ./cmd/jafar
- run: go build -v ./internal/cmd/jafar
- run: sudo ./testjafar.bash

View File

@ -2,6 +2,9 @@ name: "qahhfm"
on:
schedule:
- cron: "5 3 * * */1"
push:
branches:
- 'release/**'
jobs:
test:
runs-on: ubuntu-latest

View File

@ -2,6 +2,9 @@ name: "qahirl"
on:
schedule:
- cron: "10 3 * * */1"
push:
branches:
- 'release/**'
jobs:
test:
runs-on: ubuntu-latest

View File

@ -2,6 +2,9 @@ name: "qatelegram"
on:
schedule:
- cron: "15 3 * * */1"
push:
branches:
- 'release/**'
jobs:
test:
runs-on: ubuntu-latest

View File

@ -2,6 +2,9 @@ name: "qawhatsapp"
on:
schedule:
- cron: "25 3 * * */1"
push:
branches:
- 'release/**'
jobs:
test:
runs-on: ubuntu-latest

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -ex
export GOPATH=/jafar/QA/GOPATH GOCACHE=/jafar/QA/GOCACHE GO111MODULE=on
go build -v ./cmd/miniooni
go build -v ./cmd/jafar
go build -v ./internal/cmd/miniooni
go build -v ./internal/cmd/jafar
sudo ./QA/$1.py ./miniooni