Skip to content

Merge branch 'main' of https://github.com/cyklokoalicia/OpenSourceBik… #171

Merge branch 'main' of https://github.com/cyklokoalicia/OpenSourceBik…

Merge branch 'main' of https://github.com/cyklokoalicia/OpenSourceBik… #171

Workflow file for this run

name: Build
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
phpcs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [7.4]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Install dependencies
run: composer install
- name: Run PHP Unit Tests
run: vendor/bin/phpunit --configuration phpunit.xml.dist
- name: Run PHP CodeSniffer
run: vendor/bin/phpcs ./src ./tests