Skip to content

Commit 89d4b09

Browse files
committed
enhancement: Migrate CI from Travis to Github Action (fulll/gamme-client#843)
1 parent 4fbd919 commit 89d4b09

File tree

3 files changed

+40
-19
lines changed

3 files changed

+40
-19
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Each line is a file pattern followed by one or more owners.
2+
3+
# CI code should be reviewed by an architect
4+
/.github/ @fulll/chapter-validators-client @fulll/chapter-validators-plateforme

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Application CI
2+
3+
on: pull_request
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
name: PHP CI ${{ matrix.php-versions }}
13+
strategy:
14+
matrix:
15+
php-versions:
16+
- 7.2
17+
- 7.4
18+
- 8.0
19+
- 8.1
20+
- 8.2
21+
- 8.3
22+
23+
steps:
24+
- name: Checkout sources
25+
uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
- name: Setup PHP
29+
uses: shivammathur/setup-php@v2
30+
with:
31+
php-version: ${{ matrix.php-versions }}
32+
tools: composer
33+
- name: Install dependencies
34+
run: composer install --no-interaction --no-progress
35+
- name: Run unit tests
36+
run: vendor/bin/atoum

.travis.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)