Skip to content

Update automate removing domains without ns records #187

Update automate removing domains without ns records

Update automate removing domains without ns records #187

Workflow file for this run

name: Tests
on: push
jobs:
duplicates:
name: No duplicate domains in list
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
name: Python setup
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pytest
run: pip install pytest
- name: Check for duplicate lines
run: |
cd scripts
python3 tests.py --type duplicates
regex:
name: No regex domains in list
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
name: Python setup
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pytest
run: pip install pytest
- name: Check if list includes regex domains
run: |
cd scripts
python3 tests.py --type regex
unbound:
name: Check Unbound list
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Unbound
run: sudo apt-get update && sudo apt-get install -y unbound
- name: Check unbound list
run: unbound-checkconf unbound.conf