mirror of https://github.com/citusdata/citus.git
Merge pull request #1 from gokhangulbiz/circleci-gha-migration-pr-trigger
commit
b46ac3f1c5
|
@ -1,4 +1,4 @@
|
|||
name: install_extension
|
||||
name: setup_extension
|
||||
inputs:
|
||||
pg_major:
|
||||
required: false
|
|
@ -2,12 +2,17 @@ name: coverage
|
|||
inputs:
|
||||
flags:
|
||||
required: false
|
||||
codecov_token:
|
||||
required: true
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: ${{ inputs.flags }}
|
||||
token: ${{ inputs.codecov_token }}
|
||||
verbose: true
|
||||
gcov: true
|
||||
- name: Create codeclimate coverage
|
||||
run: |-
|
||||
lcov --directory . --capture --output-file lcov.info
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: Build & Test
|
||||
run-name: Build & Test - ${{ github.event.pull_request.number || github.ref_name }} - ${{ github.sha }}
|
||||
run-name: Build & Test - ${{ github.event.pull_request.title || github.ref_name }}
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
@ -170,7 +170,7 @@ jobs:
|
|||
- build
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
- name: Run Test
|
||||
run: gosu circleci make -C src/test/${{ matrix.suite }} ${{ matrix.make }}
|
||||
timeout-minutes: 20
|
||||
|
@ -182,6 +182,7 @@ jobs:
|
|||
if: always()
|
||||
with:
|
||||
flags: ${{ env.PG_MAJOR }}_${{ matrix.suite }}_${{ matrix.make }}
|
||||
codecov_token: ${{ secrets.CODECOV_TOKEN }}
|
||||
prepare_parallelization_matrix_6:
|
||||
name: Parallel 6
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -195,10 +196,8 @@ jobs:
|
|||
with:
|
||||
count: 6
|
||||
test-arbitrary-configs:
|
||||
if: ${{ false }}
|
||||
# disable this job till we have 16core VMs
|
||||
name: PG${{ matrix.pg_version }} - regress - check-arbitrary-configs
|
||||
runs-on: ubuntu-latest #-16core
|
||||
runs-on: ubuntu-latest #-16core - we need 16 cores VMs to run this job successfully
|
||||
container:
|
||||
image: "${{ matrix.image_name }}:${{ matrix.pg_version }}${{ vars.image_suffix }}"
|
||||
options: --user root
|
||||
|
@ -216,7 +215,7 @@ jobs:
|
|||
parallel: [1,2,3,4,5,6]
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
- name: Test arbitrary configs
|
||||
run: |-
|
||||
TESTS=$(src/test/regress/citus_tests/print_test_names.py)
|
||||
|
@ -233,6 +232,7 @@ jobs:
|
|||
if: always()
|
||||
with:
|
||||
flags: ${{ env.pg_major }}_upgrade
|
||||
codecov_token: ${{ secrets.CODECOV_TOKEN }}
|
||||
test-pg-upgrade:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -248,10 +248,10 @@ jobs:
|
|||
- uses: actions/download-artifact@v3.0.1
|
||||
with:
|
||||
path: "."
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
with:
|
||||
pg_major: "${{ env.old_pg_major }}"
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
with:
|
||||
pg_major: "${{ env.new_pg_major }}"
|
||||
- name: Install and test postgres upgrade
|
||||
|
@ -274,6 +274,7 @@ jobs:
|
|||
if: always()
|
||||
with:
|
||||
flags: ${{ env.old_pg_major }}_${{ env.new_pg_major }}_upgrade
|
||||
codecov_token: ${{ secrets.CODECOV_TOKEN }}
|
||||
test-citus-upgrade:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -283,7 +284,7 @@ jobs:
|
|||
- build
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
with:
|
||||
skip_installation: true
|
||||
- name: Install and test citus upgrade
|
||||
|
@ -316,6 +317,7 @@ jobs:
|
|||
if: always()
|
||||
with:
|
||||
flags: ${{ env.pg_major }}_upgrade
|
||||
codecov_token: ${{ secrets.CODECOV_TOKEN }}
|
||||
upload-coverage:
|
||||
if: always()
|
||||
env:
|
||||
|
@ -429,7 +431,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
- uses: actions/download-artifact@v3.0.1
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
- name: Run minimal tests
|
||||
run: |-
|
||||
tests="${{ needs.test-flakyness-pre.outputs.tests }}"
|
||||
|
|
|
@ -68,7 +68,7 @@ jobs:
|
|||
matrix: ${{ fromJson(needs.prepare_parallelization_matrix.outputs.json) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.0
|
||||
- uses: "./.github/actions/install_extension"
|
||||
- uses: "./.github/actions/setup_extension"
|
||||
- name: Run minimal tests
|
||||
run: |-
|
||||
gosu circleci src/test/regress/citus_tests/run_test.py ${{ env.test }} --repeat ${{ env.runs }} --use-base-schedule --use-whole-schedule-line
|
||||
|
|
Loading…
Reference in New Issue