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 the tool/externaltaskmonitor plugin to Moodle 4.4 #54

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 20 additions & 12 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
steps:
- name: Checking out code
uses: actions/checkout@v4
# Do not run Grunt on submodules for now, until we are ready to fix these submodules
# with:
# submodules: true
# token: ${{ secrets.GH_PAT }}

- name: Configuring node & npm
uses: actions/setup-node@v4
Expand Down Expand Up @@ -65,10 +69,11 @@ jobs:
php: 8.1
extensions:
db: mysqli
# PostgreSQL builds always run with the highest PHP supported version.
- os: ubuntu-22.04
php: 8.3
db: pgsql
# Disable testing with PostgreSQL for now since we are not using it.
# # PostgreSQL builds always run with the highest PHP supported version.
# - os: ubuntu-22.04
# php: 8.3
# db: pgsql

steps:
- name: Setting up DB mysql
Expand All @@ -84,14 +89,14 @@ jobs:
tmpfs size: '1024M'
extra conf: --skip-log-bin

- name: Setting up DB pgsql
if: ${{ matrix.db == 'pgsql' }}
uses: m4nu56/postgresql-action@v1
with:
postgresql version: 13
postgresql db: test
postgresql user: test
postgresql password: test
# - name: Setting up DB pgsql
# if: ${{ matrix.db == 'pgsql' }}
# uses: m4nu56/postgresql-action@v1
# with:
# postgresql version: 13
# postgresql db: test
# postgresql user: test
# postgresql password: test

- name: Configuring git vars
uses: rlespinasse/github-slug-action@v4
Expand All @@ -106,6 +111,9 @@ jobs:

- name: Checking out code from ${{ env.GITHUB_REF_SLUG }}
uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GH_PAT }}

- name: Setting up PHPUnit
env:
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "admin/tool/externaltaskmonitor"]
path = admin/tool/externaltaskmonitor
url = https://github.com/ucsf-education/tool_externaltaskmonitor
branch = MOODLE_404_STABLE
1 change: 1 addition & 0 deletions admin/tool/externaltaskmonitor
Submodule externaltaskmonitor added at 17f062