File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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:
Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ description = Running UNIT tests in the corresponding environment
2020commands =
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]
3535basepython =
You can’t perform that action at this time.
0 commit comments