diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63925c4c669..ca4b4c7fb48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,16 @@ jobs: run: | echo "JUnit reports are available as artifacts." + - name: Generate environment.properties + run: | + python scripts/generate_allure_environment.py ${{ github.sha }} ${{ github.ref_name }} > environment.properties + + - name: Upload environment.properties + uses: actions/upload-artifact@v4 + with: + name: environment + path: environment.properties + - name: Get Allure history uses: actions/checkout@v4 with: @@ -113,6 +123,12 @@ jobs: name: junit-report path: build/allure-results + - name: Include environment properties + uses: actions/download-artifact@v4 + with: + name: environment + path: build/allure-results + - name: Generate Allure Report uses: simple-elf/allure-report-action@master if: always()