Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,30 @@ on:
pull_request:

jobs:
filter:
runs-on: ubuntu-slim
Comment thread
medubelko marked this conversation as resolved.
outputs:
source-files: ${{ steps.filter.outputs.source-files }}
Comment thread
medubelko marked this conversation as resolved.
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: filter
with:
# Combine multiple negation checks into a union (¬A ∧ ¬B ∧ ¬C), because individual entries are checked independently (A ∨ B ∨ C).
# If we ever need to filter only for docs, glob 'docs/**/*' and '**/*.md'
filters: |
source-files:
- '!({docs/**,*.md,**/*.md,.readthedocs.yaml})'
lint:
uses: canonical/starflow/.github/workflows/lint-python.yaml@main
needs: filter
with:
source-files: ${{ needs.filter.outputs.source-files }}
Comment thread
medubelko marked this conversation as resolved.
test:
uses: canonical/starflow/.github/workflows/test-python.yaml@main
needs: filter
with:
source-files: ${{ needs.filter.outputs.source-files }}
Comment thread
medubelko marked this conversation as resolved.
Loading