fix pipeline issue that skips some integration tests (#1441)
This commit is contained in:
4
.github/workflows/maven.yaml
vendored
4
.github/workflows/maven.yaml
vendored
@@ -23,6 +23,7 @@ jobs:
|
||||
test_times_cache_present: ${{ steps.test_times_cache_present_init.outputs.test_times_cache_present }}
|
||||
number_of_matrix_instances: ${{ steps.test_times_cache_present_init.outputs.number_of_matrix_instances }}
|
||||
matrix_array: ${{ steps.test_times_cache_present_init.outputs.matrix_array }}
|
||||
average_time_per_instance: ${{ steps.test_times_cache_present_init.outputs.average_time_per_instance }}
|
||||
steps:
|
||||
|
||||
- name: checkout project
|
||||
@@ -91,6 +92,7 @@ jobs:
|
||||
echo "test_times_cache_present=${{ env.TEST_TIMES_CACHE_PRESENT }}" >> $GITHUB_OUTPUT
|
||||
echo "number_of_matrix_instances=${{ env.NUMBER_OF_MATRIX_INSTANCES }}" >> $GITHUB_OUTPUT
|
||||
echo "matrix_array=${{ env.MATRIX_ARRAY }}" >> $GITHUB_OUTPUT
|
||||
echo "average_time_per_instance=${{ env.AVERAGE_TIME_PER_INSTANCE }}" >> $GITHUB_OUTPUT
|
||||
|
||||
test_when_cache_present:
|
||||
needs: [ build ]
|
||||
@@ -106,6 +108,7 @@ jobs:
|
||||
matrix:
|
||||
current_index: [ "${{ fromJSON(needs.build.outputs.matrix_array) }}" ]
|
||||
number_of_jobs: [ "${{ fromJSON(needs.build.outputs.number_of_matrix_instances) }}" ]
|
||||
average_time_per_instance: [ "${{ fromJSON(needs.build.outputs.average_time_per_instance) }}" ]
|
||||
|
||||
steps:
|
||||
|
||||
@@ -138,6 +141,7 @@ jobs:
|
||||
env:
|
||||
CURRENT_INDEX: ${{ matrix.current_index }}
|
||||
NUMBER_OF_JOBS: ${{ matrix.number_of_jobs }}
|
||||
AVERAGE_TIME_PER_INSTANCE: ${{ matrix.average_time_per_instance }}
|
||||
|
||||
test_when_cache_missing:
|
||||
needs: [ build ]
|
||||
|
||||
Reference in New Issue
Block a user