Skip to content

Commit eadecf9

Browse files
authored
Merge pull request #85 from vincentchalamon/feature/behat-coverage
Enable Behat coverage
2 parents 6333f50 + 03cc2a3 commit eadecf9

File tree

10 files changed

+718
-247
lines changed

10 files changed

+718
-247
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ before_script:
3232
- npm install -g react-scripts
3333
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
3434

35-
script: true
36-
#- ./ci/test
35+
script:
36+
- ./ci/test
3737

3838
before_deploy:
3939
- source ci/before_deploy

api/behat.yml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ default:
99
- Behat\MinkExtension\Context\MinkContext
1010
- Behatch\Context\RestContext
1111
- Behatch\Context\JsonContext
12+
- CoverageContext
1213

1314
extensions:
1415
Behat\Symfony2Extension:

api/composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"symfony/flex": "^1.1",
1818
"symfony/framework-bundle": "4.2.*",
1919
"symfony/mercure-bundle": "^0.1.1",
20+
"symfony/translation": "4.2.*",
2021
"symfony/yaml": "4.2.*",
2122
"webonyx/graphql-php": "^0.13"
2223
},
@@ -28,7 +29,7 @@
2829
"behat/symfony2-extension": "^2.1.4",
2930
"behatch/contexts": "^3.0",
3031
"hautelook/alice-bundle": "^2.3",
31-
"symfony/dotenv": "4.2.*",
32+
"phpunit/php-code-coverage": "^7.0",
3233
"symfony/maker-bundle": "^1.11",
3334
"symfony/profiler-pack": "^1.0",
3435
"symfony/var-dumper": "4.2.*"

0 commit comments

Comments
 (0)