mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-23 01:16:13 +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
|
composer show
|
||||||
- name: "Start MySQL"
|
- name: "Start MySQL"
|
||||||
run: "sudo /etc/init.d/mysql start"
|
run: "sudo /etc/init.d/mysql start"
|
||||||
|
- name: "Run unit tests with coverage"
|
||||||
|
run: composer ci:coverage:unit
|
||||||
- name: "Run functional tests with coverage"
|
- name: "Run functional tests with coverage"
|
||||||
run: |
|
run: |
|
||||||
export typo3DatabaseName="typo3";
|
export typo3DatabaseName="typo3";
|
||||||
|
@ -42,8 +44,6 @@ jobs:
|
||||||
export typo3DatabaseUsername="root";
|
export typo3DatabaseUsername="root";
|
||||||
export typo3DatabasePassword="root";
|
export typo3DatabasePassword="root";
|
||||||
composer ci:coverage:functional
|
composer ci:coverage:functional
|
||||||
- name: "Run unit tests with coverage"
|
|
||||||
run: composer ci:coverage:unit
|
|
||||||
- name: "Merge coverage results"
|
- name: "Merge coverage results"
|
||||||
run: composer ci:coverage:merge
|
run: composer ci:coverage:merge
|
||||||
- name: "Generate coverage badge"
|
- name: "Generate coverage badge"
|
||||||
|
|
Loading…
Reference in a new issue