-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 903 Bytes
/
run-tests.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
name: Run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
pytest-test:
runs-on: ubuntu-latest
steps:
- name: Set up python
uses: ./.github/workflows/setup-python.yml
- name: Run pytest tests
run: |
python -m pytest test/unit -v --junitxml=reports/pytest.xml
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: pytest results
path: reports/pytest.xml
robot-test:
runs-on: ubuntu-latest
steps:
- name: Set up python
uses: ./.github/workflows/setup-python.yml
- name: Run robot tests
run: |
robot --outputdir reports/robot test/robot
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: robot results
path: reports/robot/output.xml