Skip to content

Fix bike rent

Fix bike rent #64

Workflow file for this run

name: Build
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
phpcs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [5.6, 7.0, 7.1]
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