feat: add end-to-end testing to this repository (#220)

* feat: add end-to-end testing to this repository

Part of https://github.com/ooni/probe-engine/issues/1181

Motivation: we want to run this check from the repository where
we work the most, such that it's unlikely it pauses due to inactivity,
as it may happen for less frequently touched upon repositories.

Code adapted from https://github.com/ooni/e2etesting/

* fix: correct name for main branch
This commit is contained in:
Simone Basso 2021-02-04 14:25:03 +01:00 committed by GitHub
commit f53b3be66e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 123 additions and 0 deletions

18
.github/workflows/e2eminiooni.yml vendored Normal file
View file

@ -0,0 +1,18 @@
# Run end-to-end testing using miniooni
name: "e2eminiooni"
on:
pull_request:
push:
branches:
- master
schedule:
- cron: "25 */8 * * *"
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: actions/setup-go@v1
with:
go-version: "1.14"
- uses: actions/checkout@v2
- run: ./E2E/miniooni.bash