report properly
This commit is contained in:
parent
513a6bb9eb
commit
ec530bb2c4
2 changed files with 3 additions and 7 deletions
6
.github/workflows/django-unit-tests.yaml
vendored
6
.github/workflows/django-unit-tests.yaml
vendored
|
|
@ -4,9 +4,6 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
paths:
|
||||
- "django/aiservice/**"
|
||||
- ".github/workflows/django-unit-tests.yaml"
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
|
|
@ -22,7 +19,7 @@ jobs:
|
|||
check-changes:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
should-run: ${{ steps.filter.outputs.aiservice }}
|
||||
should-run: ${{ steps.filter.outputs.aiservice == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -33,6 +30,7 @@ jobs:
|
|||
filters: |
|
||||
aiservice:
|
||||
- 'django/aiservice/**'
|
||||
- '.github/workflows/django-unit-tests.yaml'
|
||||
|
||||
# This job always runs and succeeds, allowing PRs to be merged when paths don't match
|
||||
no-aiservice-changes:
|
||||
|
|
|
|||
4
.github/workflows/mypy_aiservice.yml
vendored
4
.github/workflows/mypy_aiservice.yml
vendored
|
|
@ -5,9 +5,6 @@ on:
|
|||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
paths:
|
||||
- "django/aiservice/**"
|
||||
- ".github/workflows/mypy_aiservice.yml"
|
||||
defaults:
|
||||
run:
|
||||
working-directory: django/aiservice
|
||||
|
|
@ -31,6 +28,7 @@ jobs:
|
|||
filters: |
|
||||
aiservice:
|
||||
- 'django/aiservice/**'
|
||||
- '.github/workflows/mypy_aiservice.yml'
|
||||
|
||||
skip-type-check:
|
||||
needs: check-changes
|
||||
|
|
|
|||
Loading…
Reference in a new issue