Skip to content

Commit

Permalink
Add xlsx report (omg-dds#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelrti authored Mar 1, 2024
1 parent 135c646 commit 6234f04
Show file tree
Hide file tree
Showing 6 changed files with 812 additions and 7 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,24 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.11.4'
- name: Downloads assets
uses: robinraju/release-downloader@v1.7
with:
latest: true
fileName: "*"
- name: Unzip
run: unzip '*.zip' -d executables
- name: Run Interoperability script
- name: Setting up environment
run: |
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
- name: Run Interoperability script
run: |
source .venv/bin/activate
cd executables
for i in ./* ; do \
for j in ./* ; do \
Expand All @@ -30,14 +36,21 @@ jobs:
fi; \
done; \
done
- name: Generate xlsx report
run: |
source .venv/bin/activate
python3 generate_xlsx_report.py --input junit_interoperability_report.xml --output interoperability_report.xlsx
- name: XUnit Viewer
id: xunit-viewer
uses: AutoModality/action-xunit-viewer@v1
with:
results: ./junit_interoperability_report.xml
- name: Attach the report
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: report
path: ./index.html
name: interoperability_report
path: |
./index.html
./junit_interoperability_report.xml
./interoperability_report.xlsx
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ srcCxx/shapeSupport.*

# Generated reports
*.html
*.xlsx
*.xml
*.zip

.DS_Store
Loading

0 comments on commit 6234f04

Please sign in to comment.