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
ci: only run php unit tests when php files changed
They take 10 minutes to setup nextcloud
and block available CI runners.

This is particularly wasteful with javascript dependency updates.
Dependabot will rebase the pending updates
upon every push to the underlying branch.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed May 19, 2022
commit dce4082459bd9855c80fcef76770ec0f8984fe64
16 changes: 16 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@ name: PHPUnit

on:
pull_request:
paths:
- .github/workflows/phpunit.yml
- appinfo/**
- composer.*
- lib/**
- psalm.xml
- templates/**
- tests/**
push:
branches:
- master
- stable*
paths:
- .github/workflows/phpunit.yml
- appinfo/**
- composer.*
- lib/**
- psalm.xml
- templates/**
- tests/**

env:
APP_NAME: text
Expand Down