-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87c1bf8
commit 6950feb
Showing
2 changed files
with
2 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
id: collect-tests | ||
run: | | ||
# Get all the test files without extension. | ||
echo "matrix=$(cd local_ci/tests && find . -name '*.bats' -not -path '*/libs/*' -exec basename {} .bats ';' | \ | ||
echo "matrix=$(cd local_ci/tests && find . -name 'git_sync_two_branches.bats' -not -path '*/libs/*' -exec basename {} .bats ';' | \ | ||
jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT | ||
test: | ||
|
@@ -47,16 +47,6 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Local CI" | ||
- name: Setting up DB mysql | ||
uses: moodlehq/mysql-action@v1 | ||
with: | ||
collation server: utf8mb4_bin | ||
mysql version: 8.0 | ||
mysql root password: test | ||
use tmpfs: true | ||
tmpfs size: '1024M' | ||
extra conf: --skip-log-bin | ||
|
||
- name: Setting up PHP ${{ matrix.php }} | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
|
@@ -65,17 +55,6 @@ jobs: | |
tools: composer | ||
coverage: none | ||
|
||
- name: Configuring node & npm | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: 'moodle/.nvmrc' | ||
|
||
- name: Installing composer and node stuff | ||
run: | | ||
cd local_ci | ||
composer install | ||
npm install | ||
- name: Setup Bats | ||
uses: bats-core/[email protected] | ||
with: | ||
|
@@ -137,16 +116,6 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Local CI" | ||
- name: Setting up DB mysql | ||
uses: moodlehq/mysql-action@v1 | ||
with: | ||
collation server: utf8mb4_bin | ||
mysql version: 8.0 | ||
mysql root password: test | ||
use tmpfs: true | ||
tmpfs size: '1024M' | ||
extra conf: --skip-log-bin | ||
|
||
- name: Setting up PHP 8.3 | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
|
@@ -155,17 +124,6 @@ jobs: | |
tools: composer | ||
coverage: none | ||
|
||
- name: Configuring node & npm | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: 'moodle/.nvmrc' | ||
|
||
- name: Installing composer and node stuff | ||
run: | | ||
cd local_ci | ||
composer install | ||
npm install | ||
- name: Setup Bats | ||
uses: bats-core/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters