Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/11/2022 06:22:23 PM (3 years ago)
Author:
espellcaste
Message:

Testing BuddyPress against its own/new PHP Code Sniffer (PHPCS).

The plugin is using its own custom PHP Code Sniffer (https://github.com/buddypress/bp-coding-standards)

A non-blocking Github Action was introduced to test against this new code sniffer. Actual PHPCS fixes will be introduced in future commits.

Closes https://github.com/buddypress/buddypress/pull/21
See #7228

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/unit-tests.yml

    r13314 r13324  
    3333
    3434      - name: Checkout repository
    35         uses: actions/checkout@v2
     35        uses: actions/checkout@v3
    3636
    3737      - name: Setup PHP
     
    5252          composer --version
    5353
    54       - name: Validate Composer
    55         run: composer validate --strict
    56 
    5754      - name: Install Composer dependencies
    58         uses: ramsey/composer-install@v1
     55        uses: ramsey/composer-install@v2
    5956        with:
    6057          composer-options: "--ignore-platform-reqs"
     
    8885
    8986      - name: Running single site unit tests
     87        if: ${{ success() || failure() }}
    9088        run: npm run test-php
    91         if: ${{ success() || failure() }}
    9289
    9390      - name: Running multi site unit tests
     91        if: ${{ success() || failure() }}
    9492        run: npm run test-php-multisite
    95         if: ${{ success() || failure() }}
    9693
    9794      - name: Stop Docker environment
     95        if: ${{ success() || failure() }}
    9896        run: npm run wp-env stop
    99         if: ${{ success() || failure() }}
Note: See TracChangeset for help on using the changeset viewer.