-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
144 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
--- | ||
name: ORCA CI | ||
on: | ||
push: | ||
branches: [ master, develop, wip ] | ||
pull_request: | ||
branches: [ master, develop, wip ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.allow-failure }} | ||
env: | ||
ORCA_SUT_NAME: acquia/coding-standards | ||
ORCA_SUT_BRANCH: master | ||
ORCA_VERSION: dev-develop | ||
ORCA_TELEMETRY_ENABLE: TRUE | ||
ORCA_JOB: ${{ matrix.orca-job }} | ||
|
||
strategy: | ||
matrix: | ||
orca-job: | ||
- STATIC_CODE_ANALYSIS | ||
- INTEGRATED_TEST_ON_OLDEST_SUPPORTED | ||
- INTEGRATED_TEST_ON_LATEST_LTS | ||
- INTEGRATED_TEST_ON_PREVIOUS_MINOR | ||
- INTEGRATED_UPGRADE_TEST_FROM_PREVIOUS_MINOR | ||
- ISOLATED_TEST_ON_CURRENT | ||
- INTEGRATED_TEST_ON_CURRENT | ||
- INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR | ||
- ISOLATED_TEST_ON_CURRENT_DEV | ||
- INTEGRATED_TEST_ON_CURRENT_DEV | ||
- STRICT_DEPRECATED_CODE_SCAN | ||
- ISOLATED_TEST_ON_NEXT_MINOR | ||
- INTEGRATED_TEST_ON_NEXT_MINOR | ||
- ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_BETA_OR_LATER | ||
php-version: [ "7.3" ] | ||
allow-failure: [ false ] | ||
include: | ||
- orca-job: ISOLATED_TEST_ON_CURRENT | ||
php-version: "8.0" | ||
allow-failure: false | ||
|
||
- orca-job: INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
- orca-job: LOOSE_DEPRECATED_CODE_SCAN | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
- orca-job: DEPRECATED_CODE_SCAN_W_CONTRIB | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
- orca-job: ISOLATED_TEST_ON_NEXT_MINOR_DEV | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
- orca-job: INTEGRATED_TEST_ON_NEXT_MINOR_DEV | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
- orca-job: ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV | ||
php-version: "7.3" | ||
allow-failure: true | ||
|
||
# Custom job | ||
- php-version: "7.3" | ||
|
||
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: xdebug2 | ||
|
||
- name: Before install | ||
run: | | ||
composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" | ||
../orca/bin/ci/before_install.sh | ||
- name: Install | ||
run: | | ||
../orca/bin/ci/install.sh | ||
./bin/travis/install.sh | ||
- name: Before script | ||
run: ../orca/bin/ci/before_script.sh | ||
|
||
- name: Script | ||
run: ./bin/travis/script.sh | ||
|
||
- name: After script | ||
run: ../orca/bin/ci/after_script.sh | ||
|
||
- name: After success | ||
if: ${{ success() }} | ||
run: ../orca/bin/ci/after_success.sh | ||
|
||
- name: After failure | ||
if: ${{ failure() }} | ||
run: ../orca/bin/ci/after_failure.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset --> | ||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../../vendor/squizlabs/php_codesniffer/phpcs.xsd" | ||
name="AcquiaEdge" | ||
> | ||
|
||
<description>Acquia's Edge (backwards-incompatible) coding standards.</description> | ||
|
||
<arg name="extensions" value="php,inc,test,css,txt,md,yml"/> | ||
|
||
<!-- SlevomatCodingStandard sniffs --> | ||
<rule ref="SlevomatCodingStandard.Variables.DisallowSuperGlobalVariable" /> | ||
|
||
<!-- Acquia PHP sniffs --> | ||
<rule ref="AcquiaPHP"/> | ||
|
||
</ruleset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters