Skip to content

Commit

Permalink
github-workflow - Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
EJMFarrow committed Mar 6, 2024
1 parent 3bcb495 commit 79b2cdb
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/moodle-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
strategy:
fail-fast: false
matrix: # I don't know why, but mariadb is much slower, so mostly use pgsql.
# We use a mix of SBCL and GCL, but mostly prefer SBCL as it is faster.
include:
- php: '8.2'
moodle-branch: 'master'
Expand Down Expand Up @@ -95,12 +94,12 @@ jobs:
run: moodle-plugin-ci phpmd

- name: Moodle Code Checker
continue-on-error: true # Currently fails. We really ought to get this passing.
continue-on-error: true
if: ${{ always() }}
run: moodle-plugin-ci codechecker --max-warnings 0

- name: Moodle PHPDoc Checker
continue-on-error: true # Currently fails. We really ought to get this passing.
continue-on-error: true
if: ${{ always() }}
run: moodle-plugin-ci phpdoc

Expand Down
2 changes: 1 addition & 1 deletion classes/cli_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public function create_gitignore(string $manifestpath):void {
/**
* Check if the repository has been initialised
*
* @param string $manifestpath
* @param string $fullmanifestpath
* @return void
*/
public function check_repo_initialised(string $fullmanifestpath):void {
Expand Down
1 change: 0 additions & 1 deletion tests/cli_helper_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ 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: 0 additions & 1 deletion tests/create_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
/**
* 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: 0 additions & 1 deletion tests/export_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ 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: 0 additions & 1 deletion tests/export_trait_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
/**
* Test the CLI script for exporting a repo from Moodle.
* @group qbank_gitsync
* @runTestsInSeparateProcesses
*
* @covers \gitsync\export_repo::class
*/
Expand Down
1 change: 0 additions & 1 deletion tests/import_repo_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ 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: 0 additions & 1 deletion tests/lib_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

/**
* Tests for library function in lib.php
* @runTestsInSeparateProcesses
* @group qbank_gitsync
*/
class lib_test extends \advanced_testcase {
Expand Down
2 changes: 0 additions & 2 deletions tests/tidy_trait_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
* 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 79b2cdb

Please sign in to comment.