Skip to content

Commit f8cf78f

Browse files
susnuxCarlSchwan
authored andcommitted
ci: run 32bit tests on lib changes
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent bf8223f commit f8cf78f

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

.github/workflows/phpunit-32bits.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ name: PHPUnit 32bits
44

55
on:
66
pull_request:
7-
paths:
8-
- "version.php"
9-
- ".github/workflows/phpunit-32bits.yml"
10-
- "tests/phpunit-autotest.xml"
11-
- "lib/private/Snowflake/*"
12-
workflow_dispatch:
137
schedule:
148
- cron: "15 1 * * 1-6"
159

@@ -21,10 +15,32 @@ concurrency:
2115
cancel-in-progress: true
2216

2317
jobs:
18+
changes:
19+
runs-on: ubuntu-latest-low
20+
permissions:
21+
contents: read
22+
pull-requests: read
23+
24+
outputs:
25+
src: ${{ steps.changes.outputs.src}}
26+
27+
steps:
28+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
29+
id: changes
30+
continue-on-error: true
31+
with:
32+
filters: |
33+
src:
34+
- '.github/workflows/phpunit-32bits.yml'
35+
- '3rdparty/**'
36+
- '**/lib/**'
37+
- '**.php'
38+
2439
phpunit-32bits:
2540
runs-on: ubuntu-latest
2641

27-
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
42+
needs: changes
43+
if: needs.changes.outputs.src != 'false'
2844

2945
strategy:
3046
fail-fast: false

0 commit comments

Comments
 (0)