Skip to content

Commit

Permalink
chore: reduce CI time (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan authored Apr 13, 2021
1 parent ae116ae commit b3ce073
Show file tree
Hide file tree
Showing 13 changed files with 64 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/backend-cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'

jobs:
run-test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/backend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'

jobs:
backend-e2e-test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/backend-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'

jobs:
run-test:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ name: "CodeQL"

on:
push:
branches: [master]
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
branches:
- master
paths-ignore:
- 'docs/**'
schedule:
- cron: '18 23 * * 0'

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frontend-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
env:
CYPRESS_CACHE_FOLDER: cypress/cache
defaults:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frontend-plugin-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
env:
CYPRESS_CACHE_FOLDER: cypress/cache
defaults:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
gitleaks:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'web/**'

jobs:
golangci:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/make-build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Test make build command to see if ManagerAPI and Web are ok to build

name: make build

on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
make-build-test:
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/markdown-link-checker.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'

jobs:
run-test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-frontend-multiple-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- 'api/**'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- 'api/**'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit b3ce073

Please sign in to comment.