Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab64c69

Browse files
committed
Run PHPUnit on GitHub Actions
1 parentc901299 commitab64c69

File tree

2 files changed

+48
-53
lines changed

2 files changed

+48
-53
lines changed

‎.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name:CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
test:
9+
name:'Test ${{ matrix.deps }} on PHP ${{ matrix.php }}'
10+
runs-on:ubuntu-latest
11+
12+
strategy:
13+
fail-fast:false
14+
matrix:
15+
php:['7.1.3', '7.2', '7.3', '7.4', '8.0']
16+
include:
17+
-php:'7.4'
18+
deps:lowest
19+
deprecations:max[self]=0
20+
-php:'8.0'
21+
deps:highest
22+
23+
steps:
24+
-name:Checkout code
25+
uses:actions/checkout@v2
26+
27+
-name:Setup PHP
28+
uses:shivammathur/setup-php@v2
29+
with:
30+
php-version:'${{ matrix.php }}'
31+
coverage:none
32+
33+
-name:Configure composer
34+
if:"${{ matrix.deps == 'highest' }}"
35+
run:composer config minimum-stability dev
36+
37+
-name:Composer install
38+
uses:ramsey/composer-install@v1
39+
with:
40+
dependency-versions:'${{ matrix.deps }}'
41+
42+
-name:Install PHPUnit
43+
run:vendor/bin/simple-phpunit install
44+
45+
-name:Run tests
46+
run:vendor/bin/simple-phpunit
47+
env:
48+
SYMFONY_DEPRECATIONS_HELPER:'${{ matrix.deprecations }}'

‎.travis.yml

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp