Skip to content

Commit

Permalink
Create setup_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit authored Oct 21, 2023
1 parent bf375ee commit 14417d9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/setup_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup and test

on: [ push, pull_request ]

jobs:
tests:
name: Composer setup and tests
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
composer install --no-interaction --no-progress --no-suggest
- name: Run tests
run: |
composer validate --strict

0 comments on commit 14417d9

Please sign in to comment.