Merge pull request #54 from k8gb-io/support-case-sensitive-queries #316
Workflow file for this run
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: Terratest | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
jobs: | |
skip-check: | |
runs-on: ubuntu-20.04 | |
name: Skip the job? | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/[email protected] | |
with: | |
skip_after_successful_duplicate: 'true' | |
do_not_skip: '["workflow_dispatch", "schedule"]' | |
terratest: | |
runs-on: ubuntu-20.04 | |
env: | |
TAG: "ci" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: build | |
run: make build | |
- name: build image | |
run: make image | |
- name: k3d | |
uses: AbsaOSS/k3d-action@v2 | |
with: | |
cluster-name: "coredns-crd" | |
args: >- | |
--config=k3d-cluster.yaml | |
- name: test | |
run: | | |
make terratest |