-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Automatic Interoperability Tests (#10)
Adding script for testing interoperability automatically. --------- Co-authored-by: ariasmartinez <44967058+ariasmartinez@users.noreply.github.com> Co-authored-by: Gerardo Pardo <gerardo@rti.com> Co-authored-by: ClarkTucker <ctucker@twinoakscomputing.com>
- Loading branch information
1 parent
996b592
commit 3b66a52
Showing
32 changed files
with
2,373 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Interoperability issue template | ||
about: Report an interoperability problem | ||
title: 'Problem with QoS/parameter' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
- **Please, modify the Title accordingly to show the problem** | ||
|
||
### Executable's name | ||
|
||
- **Publisher**: | ||
- **Subscriber**: | ||
|
||
### Reproducing the problem | ||
|
||
- **Test Suite**: | ||
- **Test Case**: | ||
- **Link to the GitHub Action workflow run**: | ||
|
||
### What is the problem? | ||
|
||
- **Publisher expected code**: | ||
- **Publisher produced code**: | ||
- **Subscriber expected code**: | ||
- **Subscriber produced code**: | ||
|
||
### Suggestions about why this problem exists | ||
|
||
- | ||
|
||
### Other comments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Testing Interoperability | ||
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 | ||
on: workflow_dispatch | ||
jobs: | ||
Testing_Interoperability: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Downloads assets | ||
uses: robinraju/release-downloader@v1.7 | ||
with: | ||
latest: true | ||
fileName: "*" | ||
- name: Unzip | ||
run: unzip '*.zip' -d executables | ||
- name: Run Interoperability script | ||
run: | | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip install -r requirements.txt | ||
cd executables | ||
for i in ./* ; \ | ||
do for j in ./*; \ | ||
do python3 ./../interoperability_report.py -P $i -S $j -o=./../junit_interoperability_report.xml; \ | ||
done; \ | ||
done | ||
- 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 | ||
with: | ||
name: report | ||
path: ./index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.