4343 required : false
4444jobs :
4545 run-core-integration-tests :
46+ permissions :
47+ contents : write # Push allure reports to gh-pages
48+ statuses : write # Update status on PR
4649 runs-on : ${{ inputs.os_name }}
4750 steps :
4851 - name : Check out code
7780 ACCOUNT_NAME : " "
7881 CORE_URL : ${{ steps.setup-core.outputs.service_url }}
7982 run : |
80- pytest -o log_cli=true -o log_cli_level=WARNING tests/integration -k "core" --alluredir=allure-results/
83+ pytest -o log_cli=true -o log_cli_level=WARNING tests/integration -k "core" --alluredir=allure-results/
8184
8285 - name : Run integration tests HTTPS
8386 env :
@@ -90,35 +93,16 @@ jobs:
9093 ACCOUNT_NAME : " "
9194 CORE_URL : ${{ steps.setup-core.outputs.service_https_url }}
9295 run : |
93- pytest -o log_cli=true -o log_cli_level=WARNING tests/integration -k "core" --alluredir=allure-results-https/
96+ pytest -o log_cli=true -o log_cli_level=WARNING tests/integration -k "core" --alluredir=allure-results-https/
9497
95- # Need to pull the pages branch in order to fetch the previous runs
96- - name : Get Allure history
97- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
98- if : always()
99- continue-on-error : true
100- with :
101- ref : gh-pages
102- path : gh-pages
103-
104- - name : Allure Report
105- uses : firebolt-db/action-allure-report@781b4529b67b4f393c63d7dc1e098cb558e1ab16 # v1.4.1
106- if : always()
107- continue-on-error : true
108- with :
109- github-key : ${{ secrets.GITHUB_TOKEN }}
110- test-type : core
111- allure-dir : allure-results
112- pages-branch : gh-pages
113- repository-name : python-sdk
114-
115- - name : Allure Report HTTPS
116- uses : firebolt-db/action-allure-report@781b4529b67b4f393c63d7dc1e098cb558e1ab16 # v1.4.1
98+ - name : Allure Reports
99+ uses : firebolt-db/action-allure-report@8cdc116f65f6eca845a992e347e72b75ca8ccf5f # v2.1.1
117100 if : always()
118- continue-on-error : true
119101 with :
120- github-key : ${{ secrets.GITHUB_TOKEN }}
121- test-type : core_https
122- allure-dir : allure-results-https
102+ github-token : ${{ github.token }}
123103 pages-branch : gh-pages
124- repository-name : python-sdk
104+ mapping-json : |
105+ {
106+ "allure-results": "core",
107+ "allure-results-https": "core_https"
108+ }
0 commit comments