Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leowilkin authored Jan 6, 2025
1 parent ab50291 commit 3998e0e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test

on:
push:
pull_request_target:

jobs:
octodns:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Ensures the workflow checks out the base branch, not the PR branch
ref: ${{ github.event.pull_request.base.ref }}
- uses: actions/setup-python@v5
with:
python-version: '3'
- name: Install OctoDNS
run: pip install 'octodns==1.10.0' 'octodns-cloudflare==0.0.7'
- name: Do a dry run
run: ./bin/dry-run
env:
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}

0 comments on commit 3998e0e

Please # to comment.