Merge pull request #7824 from medyagh/lint_yaml_gh

lint github yaml
pull/7893/head
Medya Ghazizadeh 2020-04-23 22:53:37 -07:00 committed by GitHub
commit c6b95ea6f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 951 additions and 935 deletions

View File

@ -1,10 +1,12 @@
name: MasterCI
name: Master
on:
push:
branches:
- master
paths:
- '**.go'
- "**.go"
- "**.yml"
- "Makefile"
env:
GOPROXY: https://proxy.golang.org
jobs:
@ -61,8 +63,7 @@ jobs:
- name: Unit Test
env:
TESTSUITE: unittest
run :
make test
run: make test
continue-on-error: false
# Run the following integration tests after the build_minikube
# They will run in parallel and use the binaries in previous step
@ -515,7 +516,14 @@ jobs:
# collect all the reports and upload them
upload_all_reports:
if: always()
needs: [functional_test_docker_ubuntu, addons_certs_tests_docker_ubuntu, multinode_pause_tests_docker_ubuntu, preload_docker_flags_tests_docker_ubuntu, functional_baremetal_ubuntu18_04]
needs:
[
functional_test_docker_ubuntu,
addons_certs_tests_docker_ubuntu,
multinode_pause_tests_docker_ubuntu,
preload_docker_flags_tests_docker_ubuntu,
functional_baremetal_ubuntu18_04,
]
runs-on: ubuntu-18.04
steps:
- name: download all reports

View File

@ -1,8 +1,10 @@
name: CI
name: PR
on:
pull_request:
paths:
- '**.go'
- "**.go"
- "**.yml"
- "Makefile"
env:
GOPROXY: https://proxy.golang.org
jobs:
@ -59,8 +61,7 @@ jobs:
- name: Unit Test
env:
TESTSUITE: unittest
run :
make test
run: make test
continue-on-error: false
# Run the following integration tests after the build_minikube
# They will run in parallel and use the binaries in previous step
@ -513,7 +514,14 @@ jobs:
# collect all the reports and upload them
upload_all_reports:
if: always()
needs: [functional_test_docker_ubuntu, addons_certs_tests_docker_ubuntu, multinode_pause_tests_docker_ubuntu, preload_docker_flags_tests_docker_ubuntu, functional_baremetal_ubuntu18_04]
needs:
[
functional_test_docker_ubuntu,
addons_certs_tests_docker_ubuntu,
multinode_pause_tests_docker_ubuntu,
preload_docker_flags_tests_docker_ubuntu,
functional_baremetal_ubuntu18_04,
]
runs-on: ubuntu-18.04
steps:
- name: download all reports