Test functions #1078
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test functions | |
run-name: Test functions | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
paths: | |
- '**.sh' | |
jobs: | |
# A matrix strategy is not used here for better readability in the Actions summary. | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Run ShellCheck | |
run: bash scripts/test_functions.sh shellcheck | |
test-retrieval: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Test domain retrieval | |
run: bash scripts/test_functions.sh retrieve | |
test-dead-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Test dead domains check | |
run: bash scripts/test_functions.sh dead | |
test-parked-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Test parked domains check | |
run: bash scripts/test_functions.sh parked | |
test-validation-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Test domain validation | |
run: bash scripts/test_functions.sh validate | |
test-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Test build | |
run: bash scripts/test_functions.sh build |