summaryrefslogtreecommitdiffstats
path: root/.github/workflows/api-php-tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/api-php-tests.yml')
-rw-r--r--.github/workflows/api-php-tests.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/api-php-tests.yml b/.github/workflows/api-php-tests.yml
index 0a2635316..2fb790770 100644
--- a/.github/workflows/api-php-tests.yml
+++ b/.github/workflows/api-php-tests.yml
@@ -10,19 +10,19 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
- nextcloud: ['stable25']
+ nextcloud: ['stable27']
database: ['sqlite']
experimental: [false]
codecoverage: [false]
include:
- - php-versions: 8.0
- nextcloud: stable24
+ - php-versions: 8.2
+ nextcloud: stable27
database: sqlite
experimental: false
codecoverage: true
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 2 # https://github.com/codecov/codecov-action/issues/190#issuecomment-790729633
@@ -32,6 +32,8 @@ jobs:
php-version: ${{ matrix.php-versions }}
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: pcov
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
### Back to normal setup
- name: Set up server non MySQL
@@ -50,9 +52,6 @@ jobs:
app: 'news'
check-code: false
- - name: Setup problem matchers for PHPUnit
- run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
-
- name: Prep PHP tests
working-directory: ../server/apps/news
run: make php-test-dependencies