Skip to content

Commit

Permalink
include environment properties
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrickTench committed Aug 30, 2024
1 parent 9c03d46 commit dc8b5b9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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()
Expand Down

0 comments on commit dc8b5b9

Please sign in to comment.