Skip to content

Kf 4309 feat workflows #28

Kf 4309 feat workflows

Kf 4309 feat workflows #28

name: On Pull Request
# On pull_request, we:
# * always build the rocks
# * always run tests
on:
pull_request:
jobs:
# JOB to run change detection
changes:
runs-on: ubuntu-22.04
# Required permissions
permissions:
pull-requests: read
# Set job outputs to values from filter step
outputs:
jupyter-scipy: ${{ steps.filter.outputs.jupyter-scipy }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
jupyter-scipy:
- 'jupyter-scipy/**'
test-jupyter-scipy:
needs: changes
if: ${{ needs.changes.outputs.jupyter-scipy == 'true' }}
name: Run Tests
uses: ./.github/workflows/integrate.yaml
with:
rock: 'jupyter-scipy'