Skip to content

Commit

Permalink
Merge pull request #54 from ctam/UCSFCLE_404-Issue#52-Add_tool_extern…
Browse files Browse the repository at this point in the history
…altaskmonitor_plugin_to_Moodle_4.4

Add the tool/externaltaskmonitor plugin to Moodle 4.4
  • Loading branch information
ctam authored Sep 5, 2024
2 parents 7ccf569 + dd173c2 commit df4b936
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
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

0 comments on commit df4b936

Please sign in to comment.