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:
parent
4eeadd06a5
commit
0c48bc0746
|
@ -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
|
|
@ -2,6 +2,9 @@ name: "qahhfm"
|
|||
on:
|
||||
schedule:
|
||||
- cron: "5 3 * * */1"
|
||||
push:
|
||||
branches:
|
||||
- 'release/**'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
|
@ -2,6 +2,9 @@ name: "qahirl"
|
|||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * */1"
|
||||
push:
|
||||
branches:
|
||||
- 'release/**'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
|
@ -2,6 +2,9 @@ name: "qatelegram"
|
|||
on:
|
||||
schedule:
|
||||
- cron: "15 3 * * */1"
|
||||
push:
|
||||
branches:
|
||||
- 'release/**'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
|
@ -2,6 +2,9 @@ name: "qawhatsapp"
|
|||
on:
|
||||
schedule:
|
||||
- cron: "25 3 * * */1"
|
||||
push:
|
||||
branches:
|
||||
- 'release/**'
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user