ooni-probe-cli/.github/workflows/e2eminiooni.yml
Simone Basso f53b3be66e
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
2021-02-04 14:25:03 +01:00

19 lines
354 B
YAML

# 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