Skip to content

Commit 22f7b65

Browse files
committed
Workflow added on PR creation
1 parent ea8a75a commit 22f7b65

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PHP CI
2+
3+
on:
4+
pull_request:
5+
branches: [maestro]
6+
# push:
7+
# branches: [main]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Validate composer.json and composer.lock
16+
run: composer validate
17+
18+
- name: Install dependencies
19+
run: composer install --prefer-dist --no-progress --no-suggest
20+
21+
- name: Run tests
22+
run: ./vendor/bin/pest

0 commit comments

Comments
 (0)