Skip to content

Commit

Permalink
Added more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed Apr 9, 2024
1 parent bb8131e commit 1077a16
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/robot-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ jobs:
name: reports
path: ./test/reports

generate_report:
runs-on: ubuntu-latest
needs: robot-tests
steps:
- name: Download reports
uses: actions/download-artifact@v4
with:
name: reports
path: reports
# generate_report:
# runs-on: ubuntu-latest
# needs: robot-tests
# steps:
# - name: Download reports
# uses: actions/download-artifact@v4
# with:
# name: reports
# path: reports

- name: Send report to commit
uses: joonvena/robotframework-reporter-action@v2.4
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Send report to commit
# uses: joonvena/robotframework-reporter-action@v2.4
# with:
# gh_access_token: ${{ secrets.GITHUB_TOKEN }}

4 changes: 2 additions & 2 deletions test/resources/utils.resource
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Run Program
Run Keyword If '${result.rc}' != '${expected_ret_code}' Log Many Output: ${result.stdout} Return Code: ${result.rc}
Should Be Equal '${result.rc}' '${expected_ret_code}'

Run csolution
Run cbuild
[Documentation] Run csolution example with specified arguments
[Arguments] ${input_file} @{args}
Run Program cbuild ${input_file} @{args}
Run Program cbuild ${input_file} @{args} -p -r --update-rte
12 changes: 9 additions & 3 deletions test/src/test.robot
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,20 @@ Test Template Run csolution examples
${RESOURCES} ../resources
*** Test Cases *** ${input_file} ${args}
Run Hello example ${testDataDir}/Hello${/}Hello.csolution.yml -p -r --update-rte
*** Test Cases *** ${input_file} ${args}
Run Hello ${testDataDir}/Hello${/}Hello.csolution.yml
Run build-asm ${testDataDir}/build-asm${/}solution.csolution.yml
Run build-c ${testDataDir}/build-c${/}solution.csolution.yml
Run build-cpp ${testDataDir}/build-cpp${/}solution.csolution.yml
Run include-define ${testDataDir}/include-define${/}solution.csolution.yml
Run linker-pre-processing ${testDataDir}/linker-pre-processing${/}solution.csolution.yml
Run pre-include ${testDataDir}/pre-include${/}solution.csolution.yml
*** Keywords ***
Run csolution examples
[Arguments] ${input_file} @{args}
Run csolution ${input_file} @{args}
Run cbuild ${input_file} @{args}
Suite Setup
Set Global Variable ${testDataDir} ${CURDIR}${/}..${/}data${/}

0 comments on commit 1077a16

Please sign in to comment.