Skip to content

Commit e115757

Browse files
committed
also run tests if ci is touched
1 parent e64069b commit e115757

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- '**/*.java'
3939
- '**/pom.xml'
4040
ci:
41-
- '.github/workflows/**'
41+
- '.github/workflows/ci.yaml'
4242
- '.kokoro/**'
4343
units:
4444
runs-on: ubuntu-latest
@@ -63,12 +63,13 @@ jobs:
6363
path: ~/.m2/repository
6464
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
6565
- run: .kokoro/build.sh
66-
if: ${{ needs.bulk-filter.outputs.src == 'true' }}
66+
if: ${{ needs.bulk-filter.outputs.src == 'true' || needs.bulk-filter.outputs.ci == 'true' }}
6767
env:
6868
JOB_TYPE: test
6969
JOB_NAME: units-${{matrix.java}}
7070
units-8-runtime:
7171
runs-on: ubuntu-latest
72+
needs: bulk-filter
7273
name: "units (8)"
7374
steps:
7475
- name: Get current week within the year
@@ -95,7 +96,7 @@ jobs:
9596
path: ~/.m2/repository
9697
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
9798
- run: .kokoro/build.sh
98-
if: ${{ needs.bulk-filter.outputs.src == 'true' }}
99+
if: ${{ needs.bulk-filter.outputs.src == 'true' || needs.bulk-filter.outputs.ci == 'true' }}
99100
shell: bash
100101
env:
101102
JOB_TYPE: test

0 commit comments

Comments
 (0)