nextcloud / nextcloud/mail

Change our Github Actions to only run relevant tests for the touched files

Open
#5,205 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop technical debt
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

So only run PHP tests if a PHP file was touched, and so on - Spreed already does this:

https://github.com/nextcloud/spreed/blob/f97d7ab84fd3c0d87e46c9c08f3932ff57c5c3e7/tests/drone-run-php-tests.sh

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's GitHub Actions configuration and the referenced tests/drone-run-php-tests.sh implementation in Nextcloud Spreed. Determine how touched file types map to relevant test suites, then verify that PHP tests run only when PHP files change and that other test categories follow the same rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, php
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.