Skip to content

Commit

Permalink
[ci] Executing tests in every PR and push on main
Browse files Browse the repository at this point in the history
* Updated kind config yaml
  • Loading branch information
didierofrivia committed Oct 24, 2022
1 parent 3e2f519 commit cfc8a96
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Test

on:
push:
branches: [ 'main', 'master' ]
branches: [ 'main' ]

pull_request:
branches: [ 'main', 'master' ]
branches: [ '*' ]

schedule:
- cron: "15 1 * * *"
Expand Down Expand Up @@ -55,19 +55,12 @@ jobs:
- name: Run make docker-build
run: |
make docker-build IMG=${{ env.TEST_IMG }}
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.2.0
with:
version: v0.11.0
config: utils/local-deployment/kind-cluster.yaml
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
wait: 120s
- name: Check cluster info
run: |
kubectl cluster-info dump
- name: Run make local-env-setup
run: |
make local-env-setup
- name: Check cluster info
run: |
kubectl cluster-info dump
- name: Run integration tests
run: |
make test-integration
Expand Down

0 comments on commit cfc8a96

Please sign in to comment.