Testing workflows for Development

This commit is contained in:
florianuhlig
2025-10-05 02:45:01 +02:00
parent ab661856a5
commit 8744fdd216
2 changed files with 12 additions and 5 deletions

View File

@@ -37,4 +37,4 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }} if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps: steps:
- run: echo 'The triggering workflow failed' - run: echo 'The triggering workflow failed'

View File

@@ -1,12 +1,13 @@
name: Unit Test name: Unit Test
on: on:
push: workflow_run:
branches: workflows: ["linters"]
- Development types: [completed] #requested
jobs: jobs:
build-and-test: on-success:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -29,3 +30,9 @@ jobs:
# 6. Run unit tests # 6. Run unit tests
- name: Run pytest - name: Run pytest
run: pytest run: pytest
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- run: echo 'The triggering workflow failed'