Skip to content

Commit

Permalink
I have no idea
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Nov 1, 2023
1 parent a03cbff commit f7d859e
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,29 @@ jobs:
PR_NUMBER: ${{ github.event.pull_request.number }}
secrets: inherit

# cpp-paths-filter:
# runs-on: ubuntu-latest
# outputs:
# cpp_changes: ${{ steps.filter.outputs.rerun_cpp }}
# steps:
# - uses: actions/checkout@v4
# with:
# ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }}
# - uses: dorny/paths-filter@v2
# id: filter
# with:
# filters: |
# rerun_cpp:
# - 'rerun_cpp/**'

cpp-paths-filter:
runs-on: ubuntu-latest
outputs:
cpp_changes: ${{ steps.filter.outputs.rerun_cpp }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || '' }}
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
rerun_cpp:
- 'rerun_cpp/**'
# Run cpp tests for all platforms
cpp-tests:
name: "C++ tests"
# Wait for the cpp-paths-filter to be completed before starting.
needs: cpp-paths-filter
#needs: cpp-paths-filter
uses: ./.github/workflows/reusable_checks_cpp.yml
with:
CONCURRENCY: pr-${{ github.event.pull_request.number }}
FULL: ${{ needs.cpp-paths-filter.outputs.cpp_changes }}
FULL: true # ${{ needs.cpp-paths-filter.outputs.cpp_changes }}
secrets: inherit

min-test-wheel:
Expand Down

0 comments on commit f7d859e

Please sign in to comment.