Change the sequence regressions, moved installcheck-world to last to make sure that we already have ran the pg_stat_monitor regression and server regression don't imapct it.

pull/193/head
Naeem Akhter 2022-03-22 18:42:43 +05:00
parent 3979a205c5
commit 4bdb11aadc
3 changed files with 45 additions and 43 deletions

View File

@ -83,21 +83,6 @@ jobs:
/usr/lib/postgresql/11/bin/pg_ctl -D /opt/pgsql/data -l logfile start /usr/lib/postgresql/11/bin/pg_ctl -D /opt/pgsql/data -l logfile start
working-directory: src/pg_stat_monitor/ working-directory: src/pg_stat_monitor/
- name: Start Server installcheck-world tests (without TAP)
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1
- name: Start pg_stat_monitor_tests - name: Start pg_stat_monitor_tests
run: | run: |
make installcheck make installcheck
@ -112,3 +97,18 @@ jobs:
src/pg_stat_monitor/regression.diffs src/pg_stat_monitor/regression.diffs
src/pg_stat_monitor/logfile src/pg_stat_monitor/logfile
retention-days: 1 retention-days: 1
- name: Start Server installcheck-world tests
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1

View File

@ -78,20 +78,6 @@ jobs:
/usr/lib/postgresql/12/bin/pg_ctl -D /opt/pgsql/data -l logfile start /usr/lib/postgresql/12/bin/pg_ctl -D /opt/pgsql/data -l logfile start
working-directory: src/pg_stat_monitor/ working-directory: src/pg_stat_monitor/
- name: Start Server installcheck-world tests (without TAP)
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1
- name: Start pg_stat_monitor_tests - name: Start pg_stat_monitor_tests
run: | run: |
make installcheck make installcheck
@ -106,3 +92,18 @@ jobs:
src/pg_stat_monitor/regression.diffs src/pg_stat_monitor/regression.diffs
src/pg_stat_monitor/logfile src/pg_stat_monitor/logfile
retention-days: 1 retention-days: 1
- name: Start Server installcheck-world tests
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1

View File

@ -88,20 +88,6 @@ jobs:
/usr/lib/postgresql/13/bin/pg_ctl -D /opt/pgsql/data -l logfile start /usr/lib/postgresql/13/bin/pg_ctl -D /opt/pgsql/data -l logfile start
working-directory: src/pg_stat_monitor/ working-directory: src/pg_stat_monitor/
- name: Start Server installcheck-world tests
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1
- name: Start pg_stat_monitor_tests - name: Start pg_stat_monitor_tests
run: | run: |
make installcheck make installcheck
@ -134,3 +120,18 @@ jobs:
!src/pg_stat_monitor/tmp_check/**/pgdata/ !src/pg_stat_monitor/tmp_check/**/pgdata/
if-no-files-found: warn if-no-files-found: warn
retention-days: 1 retention-days: 1
- name: Start Server installcheck-world tests
run: |
make installcheck-world
- name: Report on installcheck-world test suites fail
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: Regressions output files of failed testsuite, and postgresql log
path: |
**/regression.diffs
**/regression.out
src/pg_stat_monitor/logfile
retention-days: 1