Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Test Workflow #16

Merged
merged 3 commits into from
Oct 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Tests"

on:
pull_request:
workflow_dispatch:


jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.0'
- name: Install dependencies
run: composer install --ignore-platform-reqs
- name: Run Tests
run: |
vendor/bin/phpunit --configuration phpunit.xml
2002Bishwajeet marked this conversation as resolved.
Show resolved Hide resolved
vendor/bin/psalm --show-info=true
2002Bishwajeet marked this conversation as resolved.
Show resolved Hide resolved