Skip to content

Test selected versions on a schedule #13

Test selected versions on a schedule

Test selected versions on a schedule #13

name: Test selected versions on a schedule
on:
push:
branches:
- test-scheduled
paths-ignore:
- "**.md"
- "docs/**"
- "examples/**"
- "templates/**"
schedule:
- cron: "0 12 * * 1" # 12:00 every Monday.
jobs:
test:
strategy:
matrix:
tag:
- "nightly"
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- name: Start Pi-hole
shell: bash
env:
TAG: ${{ matrix.tag }}
run: make docker-run
- name: Run tests
env:
PIHOLE_URL: http://localhost:8080
PIHOLE_PASSWORD: test
run: make testall