Skip to content

Commit 444d702

Browse files
committed
workflows/osfv_cli_test.yaml: Add testing workflow
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
1 parent 5d3ed72 commit 444d702

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
name: Run OSFV_CLI tests
3+
4+
on: pull_request
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: 3.11
18+
19+
- name: Install Python dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
python -m pip install robotframework
23+
24+
- name: Run tests
25+
run: robot test/
26+
27+
- name: Upload test logs
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: log
31+
path: log.html
32+
- name: Upload test xml
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: xml
36+
path: output.xml

0 commit comments

Comments
 (0)