summaryrefslogtreecommitdiffstats
path: root/.github/workflows/api-integration-tests.yml
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-10-30 06:56:57 +0100
committerJoas Schilling <coding@schilljs.com>2023-10-30 07:23:49 +0100
commit90d004f7f768fb823839db39d31c4a77b85bd5f2 (patch)
tree643c406de7ee38a20bdc1e1e0dc3914d614d288a /.github/workflows/api-integration-tests.yml
parent224525012c4aaecd7c8597b73b27135861693112 (diff)
Don't build frontend code to save CI time when only running PHP tests
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to '.github/workflows/api-integration-tests.yml')
-rw-r--r--.github/workflows/api-integration-tests.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/api-integration-tests.yml b/.github/workflows/api-integration-tests.yml
index bf22f2501..0ab974e2a 100644
--- a/.github/workflows/api-integration-tests.yml
+++ b/.github/workflows/api-integration-tests.yml
@@ -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 bats@1.7.0
@@ -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