Skip to content

Commit

Permalink
version update
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Nov 2, 2023
1 parent 91b1703 commit 61e84e2
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ jobs:

- name: coveralls
if: ${{ !cancelled() }}
run: moodle-plugin-ci coveralls-upload
run: moodle-plugin-ci coveralls-upload || true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:

- name: coveralls
if: ${{ !cancelled() }}
run: moodle-plugin-ci coveralls-upload
run: moodle-plugin-ci coveralls-upload || true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
88 changes: 44 additions & 44 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../lib/phpunit/phpunit.xsd"
bootstrap="../../lib/phpunit/bootstrap.php"
cacheResult="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
backupGlobals="false"
backupStaticAttributes="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutOutputDuringTests="true"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../lib/phpunit/phpunit.xsd"
bootstrap="../../lib/phpunit/bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
backupGlobals="false"
backupStaticAttributes="false"
cacheResult="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutOutputDuringTests="true"
>

<php>
<!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
<const name="PHPUNIT_SEQUENCE_START" value="146000"/>
<php>
<!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
<const name="PHPUNIT_SEQUENCE_START" value="145000"/>

<!--Following constants instruct tests to fetch external test files from alternative location or skip tests if empty, clone https://github.com/moodlehq/moodle-exttests to local web server-->
<!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
<!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
</php>
<!--Following constants instruct tests to fetch external test files from alternative location
or skip tests if empty, clone https://github.com/moodlehq/moodle-exttests to local web server-->
<!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/>
uncomment and alter to fetch external test files from alternative location-->
<!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/>
uncomment and alter to fetch external test files from alternative location-->
</php>

<testsuites>
<testsuite name="enrol_coursecompleted_testsuite">
<directory suffix="_test.php">.</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">classes</directory>
<directory suffix=".php">tests/generator</directory>
<file>externallib.php</file>
<file>lib.php</file>
<file>locallib.php</file>
<file>renderer.php</file>
<file>rsslib.php</file>
</include>
</coverage>

<testsuites>
<testsuite name="enrol_coursecompleted_testsuite">
<directory suffix="_test.php">.</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">.</directory>
</include>
<exclude>
<directory suffix="_test.php">.</directory>
<directory suffix=".php">classes/form</directory>
<directory suffix=".php">lang</directory>
<directory suffix=".php">db</directory>
<file>tests/coverage.php</file>
<file>version.php</file>
<file>manage.php</file>
<file>settings.php</file>
</exclude>
</coverage>
</phpunit>
51 changes: 0 additions & 51 deletions tests/phpunit.xml

This file was deleted.

5 changes: 3 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
$plugin->maturity = MATURITY_STABLE;
$plugin->component = 'enrol_coursecompleted';
$plugin->supported = [400, 403];
$plugin->release = 'v4.0.9';
$plugin->version = 2023101200;
$plugin->release = 'v4.1.1';
$plugin->version = 2023110200;

0 comments on commit 61e84e2

Please sign in to comment.