-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2403 from nextcloud/nickvergessen-patch-1
Don't build frontend code to save CI time when only running PHP tests
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 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 |
---|---|---|
|
@@ -53,6 +53,8 @@ jobs: | |
php-version: ${{ matrix.php-versions }} | ||
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip | ||
coverage: none | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup BATS & httpie | ||
run: sudo apt-get install -y httpie && npm install -g [email protected] | ||
|
@@ -97,7 +99,7 @@ jobs: | |
database-password: ${{ env.POSTGRES_PASSWORD }} | ||
|
||
- name: Prime app build | ||
run: make | ||
run: make composer | ||
|
||
- name: Configure server with app | ||
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main | ||
|
@@ -115,7 +117,7 @@ jobs: | |
sleep 2 | ||
cd ${{ github.workspace }}/../server | ||
bats apps/news/tests/api | ||
# Kill php server | ||
|
@@ -135,7 +137,7 @@ jobs: | |
sleep 2 | ||
cd ${{ github.workspace }}/../server | ||
bats apps/news/tests/command | ||
kill %1 | ||
|
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
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