From 3dae70a408df4835ad53d4eedcca692e580d5157 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:18:47 +0530 Subject: [PATCH 01/19] Adding Github Actions related configurations --- .github/workflows/orca.yml | 76 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/orca.yml diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml new file mode 100644 index 0000000..dfc279a --- /dev/null +++ b/.github/workflows/orca.yml @@ -0,0 +1,76 @@ +name: ORCA CI +on: + push: + pull_request: + schedule: + - cron: "0 0 * * *" +jobs: + build: + runs-on: ubuntu-latest + env: + strategy: + matrix: + include: + - PSR_MESSAGE_BRIDGE_VERSION: "2.1" + SYMFONY_VERSION: "5.3" + SYMFONY_DEPRECATIONS_HELPER: "weak" + php-version : "8.0" + + - PSR_MESSAGE_BRIDGE_VERSION: "2.1" + SYMFONY_VERSION: "5.3" + SYMFONY_DEPRECATIONS_HELPER: "weak" + php-version: "7.4" + + - PSR_MESSAGE_BRIDGE_VERSION: "2.1" + SYMFONY_VERSION: "5.3" + SYMFONY_DEPRECATIONS_HELPER: "weak" + php-version: "7.3" + + - PSR_MESSAGE_BRIDGE_VERSION: "2.1" + SYMFONY_VERSION: "4.4" + php-version: "7.4" + + - PSR_MESSAGE_BRIDGE_VERSION: "2.1" + SYMFONY_VERSION: "4.4" + php-version: "7.4" + + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v2 + with: + node-version: 12.x + + - uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + coverage: xdebug + + - name: Before install + run: | + travis_retry composer self-update + phpenv config-rm xdebug.ini + echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini + + - name: Install + run: | + composer require "symfony/psr-http-message-bridge:${PSR_MESSAGE_BRIDGE_VERSION}" --no-update + composer require "symfony/security-bundle:${SYMFONY_VERSION}" --no-update + travis_retry make install + + - name: Script + run: | + make test + + - name: coverage + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == "2.1" && matrix.SYMFONY_VERSION == "5.3" }} + run: | + make coverage + + + + + + + + From 05e6a0603104b7e97e23cb2d58297b8743a61361 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:28:24 +0530 Subject: [PATCH 02/19] updated orca.yml --- .github/workflows/orca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index dfc279a..2d392c7 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -63,7 +63,7 @@ jobs: make test - name: coverage - if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == "2.1" && matrix.SYMFONY_VERSION == "5.3" }} + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} run: | make coverage From 4d33ead9c489c534af1762e440183ca1ab0cf1f8 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:30:01 +0530 Subject: [PATCH 03/19] Update orca.yml --- .github/workflows/orca.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 2d392c7..7657575 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -7,7 +7,6 @@ on: jobs: build: runs-on: ubuntu-latest - env: strategy: matrix: include: From fe37d30f45d24c8c7f0fd1e44c3c141bc9e9cbf7 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:43:55 +0530 Subject: [PATCH 04/19] Update orca.yml --- .github/workflows/orca.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 7657575..bc4b924 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -47,15 +47,14 @@ jobs: - name: Before install run: | - travis_retry composer self-update + composer self-update phpenv config-rm xdebug.ini - echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - name: Install run: | composer require "symfony/psr-http-message-bridge:${PSR_MESSAGE_BRIDGE_VERSION}" --no-update composer require "symfony/security-bundle:${SYMFONY_VERSION}" --no-update - travis_retry make install + make install - name: Script run: | From 53ec40e8db1865b17605b614615e8ef4ef8c9fd8 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:48:08 +0530 Subject: [PATCH 05/19] Update orca.yml --- .github/workflows/orca.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index bc4b924..28fdf23 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -48,7 +48,6 @@ jobs: - name: Before install run: | composer self-update - phpenv config-rm xdebug.ini - name: Install run: | From 210ab78c40a5793b626f8056839f7abfc43d0224 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 17:50:05 +0530 Subject: [PATCH 06/19] Update orca.yml --- .github/workflows/orca.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 28fdf23..e47083b 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -51,8 +51,8 @@ jobs: - name: Install run: | - composer require "symfony/psr-http-message-bridge:${PSR_MESSAGE_BRIDGE_VERSION}" --no-update - composer require "symfony/security-bundle:${SYMFONY_VERSION}" --no-update + composer require "symfony/psr-http-message-bridge:${{matrix.PSR_MESSAGE_BRIDGE_VERSION}}" --no-update + composer require "symfony/security-bundle:${{matrix.SYMFONY_VERSION}}" --no-update make install - name: Script From 0e8db7fa629d7e898bb388be00fded6586238637 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 18:03:10 +0530 Subject: [PATCH 07/19] Update orca.yml --- .github/workflows/orca.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index e47083b..192a6ce 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -63,11 +63,3 @@ jobs: if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} run: | make coverage - - - - - - - - From c17c2552670437b37e876331367256921b59fbbf Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 18:20:50 +0530 Subject: [PATCH 08/19] Update orca.yml --- .github/workflows/orca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 192a6ce..69e92cd 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,7 +43,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - coverage: xdebug + coverage: xdebug2 - name: Before install run: | From 56436ad5c30cd3b715bc4fcc06d9ae72709bb691 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 18:26:14 +0530 Subject: [PATCH 09/19] Update orca.yml --- .github/workflows/orca.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 69e92cd..171edb6 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,7 +43,6 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - coverage: xdebug2 - name: Before install run: | From 0e00f36da1a471470caa72ab04d4f2c3640762f5 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 19:43:02 +0530 Subject: [PATCH 10/19] Update orca.yml --- .github/workflows/orca.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 171edb6..837021b 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,6 +43,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} + coverage: none - name: Before install run: | From db83596007f0e6fdf42318507ac6b582ad3eb9d3 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Thu, 18 Nov 2021 20:05:15 +0530 Subject: [PATCH 11/19] Update orca.yml --- .github/workflows/orca.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 837021b..b892237 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,11 +43,12 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - coverage: none + coverage: xdebug2 - name: Before install run: | composer self-update + phpenv config-rm xdebug.ini - name: Install run: | From a7facb51b3843a0eacc8962e50160ce8faa85df4 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 15:22:15 +0530 Subject: [PATCH 12/19] Update orca.yml --- .github/workflows/orca.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index b892237..6309b5f 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,12 +43,11 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - coverage: xdebug2 + coverage: none - name: Before install run: | composer self-update - phpenv config-rm xdebug.ini - name: Install run: | @@ -60,7 +59,3 @@ jobs: run: | make test - - name: coverage - if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} - run: | - make coverage From ffbdabfce7511995eacdc1ea363110b8e615142d Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 16:10:55 +0530 Subject: [PATCH 13/19] Update orca.yml --- .github/workflows/orca.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 6309b5f..5a6e6ed 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -7,6 +7,10 @@ on: jobs: build: runs-on: ubuntu-latest + env: + PSR_MESSAGE_BRIDGE_VERSION: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION }} + SYMFONY_VERSION: ${{ matrix.SYMFONY_VERSION }} + SYMFONY_DEPRECATIONS_HELPER: ${{ matrix.SYMFONY_DEPRECATIONS_HELPER }} strategy: matrix: include: @@ -59,3 +63,7 @@ jobs: run: | make test + - name: coverage + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} + run: | + make coverage From d685dc8a870d2cd733c940683331e69f4cb2bda8 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 16:30:34 +0530 Subject: [PATCH 14/19] Update orca.yml --- .github/workflows/orca.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 5a6e6ed..888db9f 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -62,8 +62,3 @@ jobs: - name: Script run: | make test - - - name: coverage - if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} - run: | - make coverage From a228d305507abcc97d8131a289cc4b8e87b39d40 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 17:15:45 +0530 Subject: [PATCH 15/19] Update orca.yml --- .github/workflows/orca.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 888db9f..c98f4c7 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -11,6 +11,9 @@ jobs: PSR_MESSAGE_BRIDGE_VERSION: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION }} SYMFONY_VERSION: ${{ matrix.SYMFONY_VERSION }} SYMFONY_DEPRECATIONS_HELPER: ${{ matrix.SYMFONY_DEPRECATIONS_HELPER }} + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_RUN_ID: ${{ github.run_id }} + GITHUB_EVENT_NAME: ${{ github.event_name }} strategy: matrix: include: @@ -62,3 +65,8 @@ jobs: - name: Script run: | make test + + - name: coverage + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} + run: | + make coverage From 5fce3a4bcdd695014aea17b19755fc8e1fb3be84 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 17:52:19 +0530 Subject: [PATCH 16/19] Update orca.yml --- .github/workflows/orca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index c98f4c7..6294d3f 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -67,6 +67,6 @@ jobs: make test - name: coverage - if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' }} + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' && matrix.php-version != "8.0"}} run: | make coverage From 8cf8f4126b244262ecc64e08d1b43c814ea087e8 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Mon, 22 Nov 2021 17:53:23 +0530 Subject: [PATCH 17/19] Update orca.yml --- .github/workflows/orca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index 6294d3f..ef5d276 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -67,6 +67,6 @@ jobs: make test - name: coverage - if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' && matrix.php-version != "8.0"}} + if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' && matrix.php-version != '8.0'}} run: | make coverage From f81d31932a503df7fb470aa67ac1652f2897580e Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Tue, 23 Nov 2021 10:59:11 +0530 Subject: [PATCH 18/19] Update orca.yml --- .github/workflows/orca.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index ef5d276..e854c05 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -43,18 +43,13 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: 12.x - - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} coverage: none - name: Before install - run: | - composer self-update + run: composer self-update - name: Install run: | @@ -63,10 +58,8 @@ jobs: make install - name: Script - run: | - make test + run: make test - name: coverage if: ${{ matrix.PSR_MESSAGE_BRIDGE_VERSION == '2.1' && matrix.SYMFONY_VERSION == '5.3' && matrix.php-version != '8.0'}} - run: | - make coverage + run: make coverage From 1c71cd6bc847ab1ee05581d8cfb6b8def2acbfb4 Mon Sep 17 00:00:00 2001 From: sayan goswami Date: Wed, 24 Nov 2021 12:37:57 +0530 Subject: [PATCH 19/19] Update orca.yml --- .github/workflows/orca.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/orca.yml b/.github/workflows/orca.yml index e854c05..be70f3c 100644 --- a/.github/workflows/orca.yml +++ b/.github/workflows/orca.yml @@ -39,7 +39,6 @@ jobs: - PSR_MESSAGE_BRIDGE_VERSION: "2.1" SYMFONY_VERSION: "4.4" php-version: "7.4" - steps: - uses: actions/checkout@v2