Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Jan 10, 2024
1 parent 3cafd14 commit b4fc15c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 20 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ jobs:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}

- name: Install dlib
run: |
sudo sh -c 'echo "deb https://repo.delellis.com.ar bionic bionic" > /etc/apt/sources.list.d/20-pdlib.list'
wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
sudo apt update
sudo apt-get install libdlib-dev
- name: Checkout submodules
shell: bash
run: |
Expand All @@ -64,6 +56,10 @@ jobs:
extensions: pdlib-https://github.com/goodspb/pdlib@master, zip, gd, mbstring, iconv, fileinfo, intl, mysql, pdo_mysql
coverage: xdebug

- name: Install pdlib
run: |
sudo pecl install https://services.delellis.com.ar/data/facerecognition/pdlib-1.1.0.tgz
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: composer i
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']
name: php${{ matrix.php-versions }} lint
steps:
- name: Checkout
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2', '8.3']
databases: ['sqlite', 'mysql', 'pgsql']
server-versions: ['stable27']
server-versions: ['stable27', 'stable28']

name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

Expand Down Expand Up @@ -48,14 +48,6 @@ jobs:
repository: nextcloud/server
ref: ${{ matrix.server-versions }}

- name: Install dlib
run: |
sudo sh -c 'echo "deb https://repo.delellis.com.ar bionic bionic" > /etc/apt/sources.list.d/20-pdlib.list'
wget -qO - https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
sudo apt update
sudo apt-get install libdlib-dev
- name: Checkout submodules
shell: bash
run: |
Expand All @@ -74,9 +66,13 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: pdlib-https://github.com/goodspb/pdlib@master, zip, gd, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql
extensions: zip, gd, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql
coverage: none

- name: Install pdlib
run: |
sudo pecl install https://services.delellis.com.ar/data/facerecognition/pdlib-1.1.0.tgz
- name: Set up PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: composer i
Expand Down

0 comments on commit b4fc15c

Please sign in to comment.