Skip to content

Commit

Permalink
Run tests one by one @ GHA
Browse files Browse the repository at this point in the history
This workflow just finds all the individual
tests available in core (all the test_ methods
in _test.php file) and runs them one by one,
with a total isolation, because each one is
executed by a different PHPUnit run.

Any test ending with error, will be reported
as part of the output.

Note that we are not using PHPUnit's own
isolation here, just running them one by one.
  • Loading branch information
stronk7 committed Sep 13, 2024
1 parent 49d8bab commit 5d406b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 124 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/onebyone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ name: One by One Testing
# own isolation or any other option.

on:
push:
branches-ignore:
- main
- master
- MOODLE_[0-9]+_STABLE
tags-ignore:
- v[0-9]+.[0-9]+.[0-9]+*
workflow_dispatch:
inputs:
phpunit_extra_options:
Expand Down
124 changes: 0 additions & 124 deletions .github/workflows/push.yml

This file was deleted.

0 comments on commit 5d406b1

Please sign in to comment.