Skip to content

Commit ea52f03

Browse files
WIP
1 parent 47da98b commit ea52f03

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# run: make start-project-services
3838

3939
- name: Run tests
40-
run: make test-all
40+
run: make test
4141
- name: Upload coverage to Codecov
4242
uses: codecov/codecov-action@v2.1.0
4343
with:
@@ -47,7 +47,7 @@ jobs:
4747
name: codecov-umbrella
4848
fail_ci_if_error: true
4949
- name: Check coverage.xml
50-
run: ls -la
50+
run: pwd
5151
- name: SonarCloud Scan
5252
uses: SonarSource/sonarcloud-github-action@master
5353
env:

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sonar.sources=ted_sws, dags, notebooks, infra
1111
# Language
1212
sonar.language=py
1313
sonar.python.version=3.7, 3.8, 3.9, 3.10
14-
sonar.python.coverage.reportPaths=coverage.xml
14+
sonar.python.coverage.reportPaths=/home/lps/work/staging-ted-sws/ted-rdf-conversion-pipeline/ted-rdf-conversion-pipeline/coverage.xml
1515

1616
# Encoding of the source files
1717
sonar.sourceEncoding=UTF-8

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)