Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xmldb checks #156

Open
ewallah opened this issue Feb 14, 2022 · 0 comments
Open

Add xmldb checks #156

ewallah opened this issue Feb 14, 2022 · 0 comments

Comments

@ewallah
Copy link

ewallah commented Feb 14, 2022

MDL-73764 added a Behat script to reconcile install.xml files.

In Github Actions, one can use this check to see if a plugin has differences between the current install.xml and what the XMLDB editor saves:

      - name: xmldb
        if: ${{ always() }}
        run: php admin/tool/behat/cli/run.php --tags=@tool_xmldb
        working-directory: moodle

Of course, a PHPUnit script would do the job faster and provide better error output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant