From d299edd10d210bd115277623a01f1474da3d21ad Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 23 Dec 2023 20:08:39 +0100 Subject: [PATCH] less errors please --- .gitea/workflows/autoupdate.yml | 1 + .gitea/workflows/test.yml | 17 ----------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/autoupdate.yml b/.gitea/workflows/autoupdate.yml index bea568a..535ee32 100644 --- a/.gitea/workflows/autoupdate.yml +++ b/.gitea/workflows/autoupdate.yml @@ -14,6 +14,7 @@ jobs: uses: actions/checkout@v4 - name: run crawler run: | + sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /etc/php/7.4/cli/php.ini cd crawler php crawler.php git config --global user.email "gitea@haschek.at" diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml deleted file mode 100644 index d99685a..0000000 --- a/.gitea/workflows/test.yml +++ /dev/null @@ -1,17 +0,0 @@ -on: [push] - - -jobs: - update_database: - runs-on: ubuntu-latest - steps: - - name: All tools we need - run: apt update && apt install -y php - - name: run test - run: | - find /etc/php/7.4 - grep "error_reporting" /etc/php/7.4/cli/php.ini - sed -i "/^error_reporting/c\error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE" /etc/php/7.4/cli/php.ini - grep "error_reporting" /etc/php/7.4/cli/php.ini - - \ No newline at end of file