Skip to content

Commit af2cd89

Browse files
committed
Tests configuration
1 parent f1e83a7 commit af2cd89

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Integration Tests
4+
5+
# Controls when the action will run.
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the main branch
8+
push:
9+
pull_request:
10+
types: [opened, reopened,synchronize]
11+
branches:
12+
- develop
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
18+
jobs:
19+
# This workflow contains a single job called "build"
20+
build:
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
24+
# Steps represent a sequence of tasks that will be executed as part of the job
25+
steps:
26+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+
- uses: actions/checkout@v2
28+
29+
- name: Setup PHP with PECL extension
30+
uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: '8.2'
33+
34+
# Runs a single command using the runners shell
35+
- name: Run composer install
36+
run: composer install
37+
38+
# Runs a single command using the runners shell
39+
- name: Run unit tests
40+
run: php vendor/bin/phpunit tests/Integration
File renamed without changes.

0 commit comments

Comments
 (0)