Skip to content

Commit

Permalink
ci: add workflows/main.yml github
Browse files Browse the repository at this point in the history
  • Loading branch information
kocoten1992 committed Aug 11, 2023
1 parent da47e55 commit 850da66
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PHP Test

on: [push]

jobs:
php-test:
runs-on: ubuntu-latest

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

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2' # Adjust the PHP version as needed
extensions: mbstring # Add necessary extensions

- name: Install dependencies
run: composer install

- name: Run PHP tests
run: ./vendor/bin/phpunit tests

0 comments on commit 850da66

Please sign in to comment.