Skip to content

Commit 83c48f2

Browse files
authored
Merge pull request #1 from MaestroError/workflow-for-auto-testing
Workflow added on PR creation
2 parents ea8a75a + a7c3343 commit 83c48f2

File tree

2 files changed

+57
-33
lines changed

2 files changed

+57
-33
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+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: '8.2'
18+
- name: Install dependencies
19+
run: composer install --prefer-dist --no-progress
20+
21+
- name: Run tests
22+
run: ./vendor/bin/pest

composer.lock

Lines changed: 35 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)