Skip to content

Commit 82389f8

Browse files
committed
ci: diff acceptance tests
1 parent e64170b commit 82389f8

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/testing.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ jobs:
2222
test-command: composer test:func
2323
download-binaries: true
2424

25-
acceptance:
25+
acceptance-slow:
2626
name: Acceptance Testing
2727
uses: ./.github/workflows/run-test-suite.yml
2828
with:
2929
fail-fast: false
30-
test-command: composer test:accept
30+
test-command: composer test:accept-slow
31+
download-binaries: true
32+
33+
acceptance-fast:
34+
name: Acceptance Testing
35+
uses: ./.github/workflows/run-test-suite.yml
36+
with:
37+
fail-fast: false
38+
test-command: composer test:accept-fast
3139
download-binaries: true

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@
102102
"test:unit": "tests/runner.php vendor/bin/phpunit --testsuite=Unit --color=always --testdox",
103103
"test:func": "tests/runner.php vendor/bin/phpunit --testsuite=Functional --color=always --testdox",
104104
"test:arch": "phpunit --testsuite=Arch --color=always --testdox",
105-
"test:accept": "tests/runner.php vendor/bin/phpunit --testsuite=Acceptance --color=always --testdox"
105+
"test:accept": "tests/runner.php vendor/bin/phpunit --testsuite=Acceptance --color=always --testdox",
106+
"test:accept-slow": "tests/runner.php vendor/bin/phpunit --testsuite=\"Acceptance-Slow\" --color=always --testdox",
107+
"test:accept-fast": "tests/runner.php vendor/bin/phpunit --testsuite=\"Acceptance-Fast\" --color=always --testdox"
106108
},
107109
"config": {
108110
"sort-packages": true,

0 commit comments

Comments
 (0)