Skip to content

Commit 47da98b

Browse files
check coverage report
1 parent 576d8a5 commit 47da98b

3 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/unit-tests-srv.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# - name: Start staging infra
3737
# run: make start-project-services
3838

39-
- name: Run unit tests
39+
- name: Run tests
4040
run: make test-all
4141
- name: Upload coverage to Codecov
4242
uses: codecov/codecov-action@v2.1.0
@@ -46,6 +46,13 @@ jobs:
4646
env_vars: OS,PYTHON
4747
name: codecov-umbrella
4848
fail_ci_if_error: true
49+
- name: Check coverage.xml
50+
run: ls -la
51+
- name: SonarCloud Scan
52+
uses: SonarSource/sonarcloud-github-action@master
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
55+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4956
# - name: Clean Mongo DB
5057
# run: make clean-mongo-db
5158
# - name: Upload coverage to Codecov

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
envkey_VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
3232
- name: Run unit tests
3333
run: make test
34-
- name: SonarCloud Scan
35-
uses: SonarSource/sonarcloud-github-action@master
36-
env:
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
38-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3934
# - name: Upload coverage to Codecov
4035
# uses: codecov/codecov-action@v1
4136
# with:

tox.ini

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ description = Running UNIT tests in the corresponding environment
2020
commands =
2121
{envpython} -m pytest tests/unit
2222

23-
[testenv:features]
24-
commands =
25-
{envpython} -m pytest --alluredir=./tests/reports/allure/test_results/ ./tests/features/
26-
allure generate --allow-file-access-from-files ./tests/reports/allure/test_results/ --clean -o ./tests/reports/allure/report/
27-
allure-combine ./tests/reports/allure/report/ --remove-temp-files
23+
#[testenv:features]
24+
#commands =
25+
# {envpython} -m pytest --alluredir=./tests/reports/allure/test_results/ ./tests/features/
26+
# allure generate --allow-file-access-from-files ./tests/reports/allure/test_results/ --clean -o ./tests/reports/allure/report/
27+
# allure-combine ./tests/reports/allure/report/ --remove-temp-files
2828

2929

30-
[testenv:e2e]
31-
commands =
32-
{envpython} -m pytest tests/e2e
30+
#[testenv:e2e]
31+
#commands =
32+
# {envpython} -m pytest tests/e2e
3333

3434
[testenv:cover]
3535
basepython =

0 commit comments

Comments
 (0)