Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Some tests with custom workflow
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Jan 26, 2023
commit 29cb7b9ecc2c1d23010232af5e6ccab8f8d923f9
4 changes: 1 addition & 3 deletions .github/workflows/phpunit-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
run: |
sudo sed -i -e "s/\# deb-src/deb-src/g" /etc/apt/sources.list
sudo apt-get update
sudo apt-get --no-install-recommends install -y composer
#sudo apt-get --no-install-recommends build-dep -y php php7.4 php7.4-ldap php7.4-zip php7.4-curl php7.4-intl php7.4-gd php-imagick
sudo apt-get --no-install-recommends install -y apache2-dev autopoint bison bsdmainutils build-essential chrpath debhelper dh-autoreconf dh-php dh-strip-nondeterminism dh-systemd dictionaries-common dwz emacsen-common firebird-dev firebird3.0-common firebird3.0-common-doc flex freetds-common freetds-dev gettext gettext-base groff-base hunspell-en-us intltool-debian libaio1 libapparmor-dev libapr1-dev libaprutil1-dev libarchive-zip-perl libargon2-dev libaspell-dev libaspell15 libbsd-dev libc-client2007e libc-client2007e-dev libcroco3 libct4 libdebhelper-perl libedit-dev libenchant-dev libenchant1c2a libexporter-tiny-perl libfbclient2 libfile-stripnondeterminism-perl libgcrypt20-dev libgd-dev libgd3 libgmp3-dev libgpg-error-dev libhunspell-1.7-0 libib-util libldap2-dev liblist-moreutils-perl liblmdb-dev libmagic-dev libmecab2 libmhash-dev libmhash2 libnss-myhostname libnuma1 libodbc1 libonig-dev libpam0g-dev libpci-dev libpci3 libpipeline1 libpspell-dev libqdbm-dev libqdbm14 libsasl2-dev libsctp-dev libsctp1 libsensors-config libsensors4-dev libsensors5 libsnmp-base libsnmp-dev libsnmp35 libsodium-dev libsodium23 libsub-override-perl libsybdb5 libsystemd-dev libtext-iconv-perl libtidy-dev libtidy5deb1 libtommath1 libuchardet0 libudev-dev libvpx-dev libvpx6 libwrap0-dev libxmlrpc-epi-dev libxmlrpc-epi0 libxmltok1 libxmltok1-dev libxpm-dev libxpm4 libzip-dev libzip5 locales-all man-db mlock netcat-traditional odbcinst odbcinst1debian2 pci.ids php-all-dev po-debconf psmisc re2c shtool systemtap-sdt-dev unixodbc unixodbc-dev xml2 libldap-2.4-2 libudev1 libxml2 libxml2-dev libzip-dev
sudo apt-get build-dep php php-ldap php-zip php-curl php-mbstsring php-intl php-gd php-imagick

- name: Checkout php
run: git clone --depth=1 https://github.com/php/php-src.git
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,3 @@ jobs:
- name: PHPUnit
working-directory: tests
run: ../lib/composer/bin/phpunit --configuration phpunit-autotest.xml

summary:
runs-on: ubuntu-latest
needs: phpunit-mysql

if: always()

name: phpunit-mysql-summary

steps:
- name: Summary status
run: if ${{ needs.phpunit-mysql.result != 'success' }}; then exit 1; fi
16 changes: 1 addition & 15 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, gd
coverage: none

- name: composer i
Expand All @@ -56,17 +56,3 @@ jobs:
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml

summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: phpunit-sqlite

if: always()

name: phpunit-sqlite-summary

steps:
- name: Summary status
run: if ${{ needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi