-
Notifications
You must be signed in to change notification settings - Fork 5
57 lines (52 loc) · 1.83 KB
/
test_action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test action
on: [push,pull_request,workflow_dispatch]
jobs:
test:
strategy:
matrix:
# os: [ubuntu-latest, windows-latest, macos-13]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Download Renode
uses: ./
#> TMP
with:
renode-revision: '66588-win-wrappers'
#<
# - name: Verify if Renode is persistent
# run: renode --version | grep "Renode v" || exit 1
# shell: bash
#
# - name: Run sample test
# uses: ./
# with:
# tests-to-run: __tests__/hello_world.robot
# #> TMP
# renode-revision: '66588-win-wrappers'
# #<
#
# - name: Run sample test with metrics visualization
# uses: ./
# with:
# tests-to-run: __tests__/profiling.robot
# artifacts-path: metrics
# gather-execution-metrics: yes
# #> TMP
# renode-revision: '66588-win-wrappers'
# #<
#
# - name: Upload results with metrics
# uses: actions/upload-artifact@v4
# with:
# name: metrics-${{ runner.os }}-${{ github.run_id }}
# path: metrics/*
- name: Verify that renode-test also works under CMD/PowerShell on Windows
run: |
ls
path
cp tmp\renode-test D:\a\_temp\renode-8c66c106a4994e98f8702e068b1218552dfa8c3a\
renode-test __tests__/hello_world.robot
shell: cmd
if: ${{ runner.os == 'Windows' }}