Skip to content

build(deps): Bump phpoffice/phpspreadsheet from 2.2.2 to 2.3.0 #525

build(deps): Bump phpoffice/phpspreadsheet from 2.2.2 to 2.3.0

build(deps): Bump phpoffice/phpspreadsheet from 2.2.2 to 2.3.0 #525

Workflow file for this run

name: Tymy.CZ CI
on:
push:
jobs:
setup:
name: Setup
runs-on: self-hosted
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Drop vendor"
run: rm -fr vendor
- name: "Compose"
run: composer install --no-interaction
lint:
needs: setup
name: Linter
runs-on: self-hosted
steps:
- name: "Latte-Lint"
run: vendor/bin/latte-lint app
- name: "Neon-Lint"
run: vendor/bin/neon-lint app
PhpCS:
needs: setup
name: PHP Code Sniffer
runs-on: self-hosted
steps:
- name: "PHPCs"
run: vendor/bin/phpcs
PhpStan:
needs: setup
name: PHP Stan
runs-on: self-hosted
steps:
- name: "PHPStan"
run: vendor/bin/phpstan analyse -c phpstan.neon
Autotest:
needs: [PhpStan]
name: Integration tests
runs-on: self-hosted
env:
DBMAINNAME: tymy_cz
DBNAME: autotest
DBUSER: drtikol
DBPWD: w,6TmB
TESTDIR: app/module/autotest
AUTOTEST: 1
steps:
- name: "Mock database environment"
run: |
mysql -u $DBUSER -p$DBPWD -e "CREATE DATABASE IF NOT EXISTS $DBNAME;"
cp local/config.example.neon local/config.neon
sed -i "s/database-host/localhost/g" local/config.neon
sed -i "s/database-name/$DBMAINNAME/g" local/config.neon
sed -i "s/database-user/$DBUSER/g" local/config.neon
sed -i "s/database-password/$DBPWD/g" local/config.neon
sed -i "s/database-team-host/localhost/g" local/config.neon
sed -i "s/database-team-name/$DBNAME/g" local/config.neon
sed -i "s/mail-host/localhost/g" local/config.neon
sed -i "s/smtp-port/25/g" local/config.neon
sed -i "s/smtp-user/foo/g" local/config.neon
sed -i "s/smtp-password/bar/g" local/config.neon
sed -i "s/vapid-public-key/BLDYT7Wc1T4zilBuW_JAXt4NMRuXF9V95Ql02f7hRQ7hynVo0IOcdFt2cc9HqHuqOnXICmPaLK5JzrbtyobBg9k/g" local/config.neon
sed -i "s/vapid-private-key/SV-O2lJqCqFUv-R9kYWb5K5AuwgRWqI9ZjYu3tkxcD8/g" local/config.neon
echo "sentry:" local/config.neon
echo " enable: false" local/config.neon
php bin/tester.php create-env
- name: "Check structure"
run: php bin/structure-check.php
- name: "Run tests"
run: php bin/tester.php ../$TESTDIR/app
- name: "Clean created database"
run: |
mysql -u $DBUSER -p$DBPWD -e "DROP DATABASE $DBNAME;"
php bin/tester.php delete-env