-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'oneof-support' of https://github.com/pratheekshasn/grpc…
…-labview into oneof-support
- Loading branch information
Showing
5 changed files
with
45 additions
and
5 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 |
---|---|---|
|
@@ -40,9 +40,42 @@ jobs: | |
- name: Run CI Tests | ||
run: python ${{runner.workspace}}\grpc-labview\tests\run_tests.py | ||
|
||
- name: Get current time | ||
uses: josStorer/get-current-time@v2 | ||
id: current-time | ||
with: | ||
format: YYYY-MM-DD_hh-mm-ss | ||
utcOffset: "+05:30" | ||
|
||
- name: Run New Testing Suite's Tests | ||
run: python ${{runner.workspace}}\grpc-labview\tests\New_ATS\pylib\run_tests.py | ||
|
||
- name: Check whether logs folder exists in New_ATS | ||
id: check_files | ||
uses: andstor/[email protected] | ||
with: | ||
files: "${{runner.workspace}}/grpc-labview/tests/New_ATS/logs/*.xml" | ||
|
||
- if: ${{always() && steps.check_files.outputs.files_exists == 'true' }} | ||
name: Download New_ATS Test Results if logs folder exists | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: New_ATS Test Results ${{ steps.current-time.outputs.formattedTime }} | ||
path: ${{runner.workspace}}/grpc-labview/tests/New_ATS/logs | ||
|
||
- if: ${{always() && steps.check_files.outputs.files_exists == 'true' }} | ||
name: Show New_ATS Test Results | ||
run: | | ||
$directory = "${{runner.workspace}}/grpc-labview/tests/New_ATS/logs" | ||
Get-ChildItem -Path $directory | ForEach-Object { | ||
if ($_.PSIsContainer -eq $false) { | ||
Write-Host "Contents of $($_.Name):" | ||
Get-Content $_.FullName | ||
Write-Host "" | ||
} | ||
} | ||
- if: startsWith(github.ref, 'refs/tags/v') | ||
name: Create Draft Release | ||
id: create_release | ||
|
Binary file modified
BIN
-672 Bytes
(97%)
...upport/Server API/Cluster to gRPC message/LabVIEW DataType to Message Element DataType.vi
Binary file not shown.
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ venv | |
*.lvproj | ||
*.lvlps | ||
Generated_server | ||
Generated_client | ||
Generated_client | ||
logs |
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
@echo off | ||
set python_client_path=%1 | ||
set test_name=%2 | ||
pushd %~dp0 | ||
set script_dir=%CD% | ||
popd | ||
|
||
echo Running Python Client | ||
call %script_dir%\venv\Scripts\python.exe -m pytest %python_client_path% -vv | ||
if not exist "./logs" mkdir logs | ||
call %script_dir%\venv\Scripts\python.exe -m pytest %python_client_path% --junitxml=%script_dir%/logs/%test_name%_test_results.xml -vv |
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