mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 14:16:12 +01:00
[TASK] Run unit tests before functional tests for coverage (#431)
We generally should run the faster tests first so that any possible breakage occurs as soon as possible, hence providing faster feedback.
This commit is contained in:
parent
e1f04ba58b
commit
65c59cee1c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/codecoverage.yml
vendored
4
.github/workflows/codecoverage.yml
vendored
|
@ -35,6 +35,8 @@ jobs:
|
|||
composer show
|
||||
- name: "Start MySQL"
|
||||
run: "sudo /etc/init.d/mysql start"
|
||||
- name: "Run unit tests with coverage"
|
||||
run: composer ci:coverage:unit
|
||||
- name: "Run functional tests with coverage"
|
||||
run: |
|
||||
export typo3DatabaseName="typo3";
|
||||
|
@ -42,8 +44,6 @@ jobs:
|
|||
export typo3DatabaseUsername="root";
|
||||
export typo3DatabasePassword="root";
|
||||
composer ci:coverage:functional
|
||||
- name: "Run unit tests with coverage"
|
||||
run: composer ci:coverage:unit
|
||||
- name: "Merge coverage results"
|
||||
run: composer ci:coverage:merge
|
||||
- name: "Generate coverage badge"
|
||||
|
|
Loading…
Reference in a new issue