Skip to content

update setup-python action v5 #195

update setup-python action v5

update setup-python action v5 #195

Workflow file for this run

name: Robot tests
on: [push, pull_request]
jobs:
integrationtest:
runs-on: ubuntu-latest
container: python:3.9
strategy:
fail-fast: false
matrix:
auth_enabled: ['false', 'true']
camunda_version: ['run-7.14.0','run-7.15.0','run-7.16.0','run-7.17.0','run-7.18.0','run-7.19.0','run-7.20.0']
services:
camunda:
image: camunda/camunda-bpm-platform:${{ matrix.camunda_version }}
ports:
- 8080:8080
env:
camunda.bpm.run.auth.enabled: ${{ matrix.auth_enabled }}
steps:
- uses: actions/checkout@v4
- name: Test with robot
run: |
pip install .
sleep 10
robot -d logs-${camunda_version}-${auth_enabled} -b debug.log -x xunit.xml -L DEBUG -V tests/robot/config_cicd.py -v CAMUNDA_HOST:http://camunda:8080 tests/robot/**/*.robot
- name: Archive production artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: robot logs
path: |
logs-${camunda_version}-${auth_enabled}/
publish-test-results:
name: "Publish Unit Tests Results"
needs: integrationtest
runs-on: ubuntu-latest
# the build-and-test job might be skipped, we don't need to run this job then
if: success() || failure()
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: robot logs
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: xunit.xml