From 11426d362e50d2c9b30ca8fbf0e310f0e9bc864c Mon Sep 17 00:00:00 2001 From: Roman Parpalak Date: Mon, 4 Mar 2024 21:49:08 +0200 Subject: [PATCH] Updated github actions. --- .github/workflows/test_mysql.yml | 11 ++--------- .github/workflows/test_postgres.yml | 8 +++++--- .github/workflows/test_sqlite.yml | 9 +++++++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test_mysql.yml b/.github/workflows/test_mysql.yml index ca02221d..4078a8b5 100644 --- a/.github/workflows/test_mysql.yml +++ b/.github/workflows/test_mysql.yml @@ -15,24 +15,17 @@ jobs: matrix: operating_system: ['ubuntu-22.04'] mysql_versions: - - 'mariadb-10.2' - - 'mariadb-10.3' - 'mariadb-10.4' - 'mariadb-10.5' - 'mariadb-10.6' - - 'mariadb-10.7' - - 'mariadb-10.8' - - 'mariadb-10.9' - - 'mariadb-10.10' - 'mariadb-10.11' - 'mariadb-11.0' - 'mariadb-11.1' - 'mariadb-11.2' - 'mariadb-11.3' - - '5.7' - '8.0' - - '8.1' - '8.2' + - '8.3' php_versions: - '8.2' include: @@ -67,4 +60,4 @@ jobs: - name: Output logs if: failure() - run: cat _cache/*.log && cat _tests/_output/email/*.txt + run: cat _cache/test/*.log && cat _tests/_output/email/*.txt diff --git a/.github/workflows/test_postgres.yml b/.github/workflows/test_postgres.yml index d6d6333c..158d088a 100644 --- a/.github/workflows/test_postgres.yml +++ b/.github/workflows/test_postgres.yml @@ -10,9 +10,11 @@ jobs: strategy: fail-fast: false matrix: - operating_system: ['ubuntu-22.04'] + operating_system: ['ubuntu-20.04', 'ubuntu-22.04'] php_versions: - '8.2' +# This param is not supported by ikalnytskyi/action-setup-postgres@v5 since it uses default packages. +# OS is changed instead. # postgres_versions: # - '12' # - '13' @@ -22,7 +24,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: ikalnytskyi/action-setup-postgres@v4 + - uses: ikalnytskyi/action-setup-postgres@v5 with: username: postgres password: 12345 @@ -43,4 +45,4 @@ jobs: - name: Output logs if: failure() - run: cat _cache/*.log && cat _tests/_output/email/*.txt + run: cat _cache/test/*.log && cat _tests/_output/email/*.txt diff --git a/.github/workflows/test_sqlite.yml b/.github/workflows/test_sqlite.yml index 91e4ed5e..83640458 100644 --- a/.github/workflows/test_sqlite.yml +++ b/.github/workflows/test_sqlite.yml @@ -10,15 +10,20 @@ jobs: strategy: fail-fast: false matrix: - operating_system: ['ubuntu-22.04'] + operating_system: ['ubuntu-20.04','ubuntu-22.04'] php_versions: - '8.2' + - '8.3' runs-on: '${{ matrix.operating_system }}' steps: - uses: actions/checkout@v3 + - name: 'SQLite version' + run: | + sqlite3 -version && php -r '$sqlite3 = new SQLite3(":memory:"); echo "SQLite version: " . $sqlite3->version()["versionString"] . PHP_EOL;' + - name: 'Setup PHP' uses: shivammathur/setup-php@v2 with: @@ -32,4 +37,4 @@ jobs: - name: Output logs if: failure() - run: cat _cache/*.log && cat _tests/_output/email/*.txt + run: cat _cache/test/*.log && cat _tests/_output/email/*.txt