Skip to content

Commit

Permalink
Merge pull request #14 from kgrzelak/dev
Browse files Browse the repository at this point in the history
phpunit github action
  • Loading branch information
kgrzelak authored Jul 1, 2024
2 parents 37dfb27 + 33ebe19 commit a494e2b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: run-tests

on: [push, pull_request]

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: curl, zip, mbstring
coverage: none

- name: Install dependencies
run: composer install --no-progress --no-suggest

- name: Run PHPUnit
run: ./vendor/bin/phpunit --testdox --no-progress

0 comments on commit a494e2b

Please sign in to comment.