Skip to content

Commit

Permalink
by default run unit test first and then integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Jun 23, 2023
1 parent 5bd6779 commit 3604463
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -65,8 +65,8 @@
"vendor/bin/psalm --clear-cache",
"vendor/bin/phpstan clear-result-cache"
],
"test-compiler": "./vendor/bin/phpunit --testsuite=integration,unit --log-junit=data/log-junit.xml",
"test-compiler:coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=integration,unit --coverage-html=data/coverage-html --coverage-xml=data/coverage-xml --log-junit=data/coverage-xml/junit.xml",
"test-compiler": "./vendor/bin/phpunit --testsuite=unit,integration --log-junit=data/log-junit.xml",
"test-compiler:coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite=unit,integration --coverage-html=data/coverage-html --coverage-xml=data/coverage-xml --log-junit=data/coverage-xml/junit.xml",
"test-core": "./phel test",
"psalm": "./vendor/bin/psalm --no-cache",
"phpstan": "./vendor/bin/phpstan --memory-limit=516M",
Expand Down
4 changes: 1 addition & 3 deletions phel-config.php
Expand Up @@ -2,13 +2,11 @@

declare(strict_types=1);

use Phel\Config\PhelOutConfig;

return (new \Phel\Config\PhelConfig())
->setSrcDirs(['src/phel'])
->setTestDirs(['tests/phel'])
->setVendorDir('vendor')
->setOut((new PhelOutConfig())
->setOut((new \Phel\Config\PhelOutConfig())
->setDestDir('out')
->setMainPhelNamespace('phel\core')
->setMainPhpFilename('index'))
Expand Down

0 comments on commit 3604463

Please sign in to comment.