Skip to content

Commit

Permalink
ci: add bin test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vuongxuongminh committed Mar 27, 2024
1 parent 6010f88 commit 95dfb8e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/bin_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Bin Tests

on:
push:
branches:
- main
pull_request: ~

jobs:
unit_tests:
strategy:
matrix:
php:
- '8.2'
- '8.3'

runs-on: ubuntu-latest

name: "PHP ${{ matrix.php }} tests"

steps:
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov

- uses: "ramsey/composer-install@v2"

- run: chmod +x ./bin/codegen

- run: ./bin/codegen

0 comments on commit 95dfb8e

Please sign in to comment.