Skip to content

feat: Introduce IRISList class for handling IRIS $LIST parameters #15

feat: Introduce IRISList class for handling IRIS $LIST parameters

feat: Introduce IRISList class for handling IRIS $LIST parameters #15

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
repository_dispatch:
types: [test workflow]
workflow_dispatch:
permissions:
contents: read
jobs:
pytest:
name: Pytest (${{ matrix.image }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- latest-em
- latest-cd
- latest-preview
steps:
- uses: actions/checkout@v4
- name: Run pytest
env:
IRIS_IMAGE_TAG: ${{ matrix.image }}
run: |
./scripts/test-docker.sh --junit-xml=/tmp/test-results.xml
- name: Find IRIS container
if: always()
id: iris-container
run: |
echo "id=$(docker compose -f docker-compose-test-preview.yml ps -q iris)" >> "$GITHUB_OUTPUT"
- name: Copy test results
if: always()
run: |
docker cp "${{ steps.iris-container.outputs.id }}:/tmp/test-results.xml" test-results-${{ matrix.image }}.xml || true
- name: Surface failing tests
if: always()
uses: pmeier/pytest-results-action@main
with:
path: test-results-${{ matrix.image }}.xml
summary: true
display-options: fEX
fail-on-empty: false
title: Test results (${{ matrix.image }})