Skip to content

Commit

Permalink
github-workflow - separate process for all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EJMFarrow committed Mar 6, 2024
1 parent 1d9807f commit a38d7fc
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/cli_helper_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public static function call_exit():void {
*
* Some tests are also done in import_repo_test where mocking has
* already been set up.
* @runTestsInSeparateProcesses
*
* @covers \gitsync\cli_helper::class
*/
Expand Down
1 change: 1 addition & 0 deletions tests/create_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
/**
* Test the CLI script for creating a repo from questions in Moodle.
* @group qbank_gitsync
* @runTestsInSeparateProcesses
*
* @covers \gitsync\create_repo::class
*/
Expand Down
1 change: 1 addition & 0 deletions tests/export_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static function handle_abort():void {
/**
* Test the CLI script for exporting a repo from Moodle.
* @group qbank_gitsync
* @runTestsInSeparateProcesses
*
* @covers \gitsync\export_repo::class
*/
Expand Down
1 change: 1 addition & 0 deletions tests/export_trait_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
/**
* Test the CLI script for exporting a repo from Moodle.
* @group qbank_gitsync
* @runTestsInSeparateProcesses
*
* @covers \gitsync\export_repo::class
*/
Expand Down
1 change: 1 addition & 0 deletions tests/import_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public static function handle_abort():void {
/**
* Test the CLI script for importing a repo to Moodle.
* @group qbank_gitsync
* @runTestsInSeparateProcesses
*
* @covers \gitsync\import_repo::class
*/
Expand Down
1 change: 1 addition & 0 deletions tests/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

/**
* Tests for library function in lib.php
* @runTestsInSeparateProcesses
* @group qbank_gitsync
*/
class lib_test extends \advanced_testcase {
Expand Down
2 changes: 2 additions & 0 deletions tests/tidy_trait_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
* Test the CLI script for exporting a repo from Moodle.
* @group qbank_gitsync
*
* @runTestsInSeparateProcesses
*
* @covers \gitsync\export_repo::class
*/
class tidy_trait_test extends advanced_testcase {
Expand Down

0 comments on commit a38d7fc

Please sign in to comment.