Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f30202a

Browse files
authored
ci: split CI workflows. Standardize CI (GoogleCloudPlatform#50)
* ci: split workflows Signed-off-by: Grant Timmerman <[email protected]> * ci: only run on push Signed-off-by: Grant Timmerman <[email protected]>
1 parent b47ea30 commit f30202a

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

.github/workflows/lint.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
name: Lint
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
1+
name: PHP Lint CI
2+
on: [push]
93
jobs:
104
php-cs-fixer:
115
runs-on: ubuntu-latest

.github/workflows/tests.yaml renamed to .github/workflows/unit.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
name: Test Suite
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
1+
name: PHP Unit CI
2+
on: [push]
93
jobs:
10-
run:
4+
build:
115
runs-on: ${{ matrix.operating-system }}
126
strategy:
137
matrix:
@@ -17,8 +11,7 @@ jobs:
1711
steps:
1812
- name: Checkout
1913
uses: actions/checkout@v2
20-
21-
- name: Setup PHP
14+
- name: Uses PHP ${{ matrix.php-versions }}
2215
uses: shivammathur/setup-php@v2
2316
with:
2417
php-version: ${{ matrix.php-versions }}

0 commit comments

Comments
 (0)