Skip to content

Add code

Add code #1

Workflow file for this run

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