Skip to content

Commit 14417d9

Browse files
authored
Create setup_test.yml
1 parent bf375ee commit 14417d9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/setup_test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Setup and test
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
tests:
7+
name: Composer setup and tests
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Setup PHP
11+
uses: shivammathur/setup-php@v2
12+
with:
13+
php-version: '8.2'
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
- name: Install dependencies
17+
run: |
18+
composer install --no-interaction --no-progress --no-suggest
19+
- name: Run tests
20+
run: |
21+
composer validate --strict

0 commit comments

Comments
 (0)