Skip to content

Commit

Permalink
Adds GH Action for PestPHP
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusstoerrle committed Jul 16, 2024
1 parent aa6a374 commit d2b577b
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Continuous Integration

on: ['push', 'pull_request']

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2
coverage: xdebug

- name: Install Dependencies
working-directory: webservice
run: composer install --no-interaction --prefer-dist --optimize-autoloader

- name: Tests
working-directory: webservice
run: ./vendor/bin/pest
2 changes: 1 addition & 1 deletion webservice/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"php": ">=8.3",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/dbal": "^3",
Expand Down

0 comments on commit d2b577b

Please sign in to comment.