Skip to content

improve test setup

improve test setup #6

Workflow file for this run

name: CI bpm-ai-connectors-c8
on:
push:
branches:
- main
- master
- develop
- bpm-ai
paths:
- 'bpm-ai-connectors-c8/**'
- '.github/workflows/connectors.yml'
jobs:
pytest:
defaults:
run:
working-directory: ./bpm-ai-connectors-c8/tests
runs-on: ubuntu-latest
environment: integration
steps:
- uses: actions/checkout@v4
-
name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
-
name: Set up poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.6.1"
-
name: Install dependencies
run: poetry install --no-root --no-cache
-
name: Run pytest
run: ZEEBE_TEST_IMAGE_TAG=8.4.0 poetry run pytest