Skip to content

Commit ba79dcd

Browse files
Adding GitHub actions to test_automation branch(#2) (#3)
This enables to use GitHub actions to run automatically the interoperability tests Co-authored-by: ariasmartinez <44967058+ariasmartinez@users.noreply.github.com>
1 parent ad14024 commit ba79dcd

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Testing Interoperability
2+
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
3+
on: workflow_dispatch
4+
jobs:
5+
Testing_Interoperability:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Downloads assets
11+
uses: robinraju/release-downloader@v1.7
12+
with:
13+
latest: true
14+
fileName: "*"
15+
- name: Unzip
16+
run: unzip '*.zip' -d executables
17+
- name: Run Interoperability script
18+
run: |
19+
python3 -m venv .venv
20+
source .venv/bin/activate
21+
pip install -r requirements.txt
22+
cd executables
23+
for i in ./* ; \
24+
do for j in ./*; \
25+
do python3 ./../interoperability_report.py -P $i -S $j -o=./../junit_interoperability_report.xml; \
26+
done; \
27+
done
28+
- name: XUnit Viewer
29+
id: xunit-viewer
30+
uses: AutoModality/action-xunit-viewer@v1
31+
with:
32+
results: ./junit_interoperability_report.xml
33+
- name: Attach the report
34+
if: always()
35+
uses: actions/upload-artifact@v1
36+
with:
37+
name: report
38+
path: ./index.html

0 commit comments

Comments
 (0)