Skip to content

Commit

Permalink
. e Updated the GitHub action and test script
Browse files Browse the repository at this point in the history
  • Loading branch information
stagg54 committed Oct 27, 2023
1 parent 241a932 commit b3b0369
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI - Test&Build
on: [ push, workflow_dispatch ]

jobs:
build:
runs-on: LV20x64
steps:
- uses: actions/checkout@v3
- name: Test g-cli
shell: bash
run: ./run_test.sh
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "UnitTestReport.xml"
if: always()

9 changes: 9 additions & 0 deletions run_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#! /usr/bin/bash

set -euo pipefail

HERE=$(cygpath -w $(pwd))

g-cli vipc -- -v "20.0 (64-bit)" -t 1200 "Approval Testing.vipc"
#g-cli caraya -- -s . -x "UnitTestReport.xml"
g-cli vitester -- -r "UnitTestReport.xml" "Approval Testing.lvproj"

0 comments on commit b3b0369

Please sign in to comment.