File tree Expand file tree Collapse file tree 5 files changed +48
-75
lines changed Expand file tree Collapse file tree 5 files changed +48
-75
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push : ~
5+ pull_request : ~
6+ release :
7+ types : [created]
8+ schedule :
9+ -
10+ cron : " 0 1 * * 6" # Run at 1am every Saturday
11+
12+ jobs :
13+ tests :
14+ runs-on : ubuntu-20.04
15+ name : " PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}"
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ php : ["7.4", "8.0"]
20+ symfony : ["^4.4", "^5.2"]
21+
22+ steps :
23+ - uses : actions/checkout@v2
24+
25+ - name : Setup PHP
26+ uses : shivammathur/setup-php@v2
27+ with :
28+ php-version : " ${{ matrix.php }}"
29+ coverage : none
30+
31+ - name : Restrict Symfony version
32+ if : matrix.symfony != ''
33+ run : |
34+ composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.11"
35+ composer config extra.symfony.require "${{ matrix.symfony }}"
36+
37+ - name : Install dependencies
38+ run : composer update
39+
40+ - name : Run analysis
41+ run : composer validate --strict
42+
43+ - name : Run tests
44+ run : vendor/bin/behat --strict -vvv --no-interaction
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- Copyright (c) 2016-2017 Łukasz Chruściel
1+ Copyright (c) 2016-2021 Łukasz Chruściel
22
33Permission is hereby granted, free of charge, to any person obtaining a copy
44of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 99 }
1010 ],
1111 "require" : {
12- "php" : " ^7.1 || ^8.0" ,
13- "behat/behat" : " ^3.4 " ,
14- "symfony/dependency-injection" : " ^3 .4 || ^4.1 || ^5.0 "
12+ "php" : " ^7.4 || ^8.0" ,
13+ "behat/behat" : " ^3.8 " ,
14+ "symfony/dependency-injection" : " ^4 .4 || ^5.2 "
1515 },
1616 "require-dev" : {
1717 "friends-of-behat/test-context" : " ^1.0"
You can’t perform that action at this time.
0 commit comments