feat: add GitHub Actions workflows for code quality and automation (#2)

This commit is contained in:
2025-02-02 00:42:19 +02:00
committed by GitHub
parent af6ecdf6ca
commit 210aa969b3
105 changed files with 8807 additions and 408 deletions

17
php-tests/README.md Normal file
View File

@@ -0,0 +1,17 @@
# ivuorinen/actions/php-tests
## PHP Tests
### Description
Run PHPUnit tests on the repository
### Runs
This action is a `composite` action.
### Usage
```yaml
- uses: ivuorinen/actions/php-tests@main
```

22
php-tests/action.yml Normal file
View File

@@ -0,0 +1,22 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: PHP Tests
description: Run PHPUnit tests on the repository
author: Ismo Vuorinen
branding:
icon: check-circle
color: green
runs:
using: composite
steps:
- name: Set Git Config
uses: ivuorinen/actions/set-git-config@main
- name: Composer Install
uses: ivuorinen/actions/php-composer@main
- name: Run PHPUnit Tests
shell: bash
run: vendor/bin/phpunit --verbose