From 93ff9fb7cfe3c4c38109816f02e9caa420c90ee2 Mon Sep 17 00:00:00 2001 From: Daniel Berthereau Date: Mon, 27 Nov 2023 00:00:00 +0000 Subject: [PATCH] Updated github workflow for php 8.3. --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f1cfbaf1..10b2dfe5b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - php-versions: ['7.4', '8.0', '8.1', '8.2'] + php-versions: ['7.4', '8.0', '8.1', '8.2', '8.3'] fail-fast: false steps: - name: Checkout @@ -36,7 +36,7 @@ jobs: tools: composer:v1 env: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Set up Node uses: actions/setup-node@v3 with: @@ -53,23 +53,23 @@ jobs: path: ${{ env.CI_COMPOSER_CACHE_DIR }} key: composer-${{ hashFiles('**/composer.lock') }} restore-keys: composer- - + - name: Cache build caches uses: actions/cache@v3 with: path: ./build/cache key: build-cache-${{ github.sha }} restore-keys: build-cache- - + - name: Start MySQL run: sudo systemctl start mysql.service - + - name: Install Node dependencies run: npm install - + - name: Gulp init run: npx gulp init - + - name: Set up database run: | mysql -e "create database IF NOT EXISTS omeka_test;" -uroot -proot @@ -77,7 +77,7 @@ jobs: sed -i 's/^user.*/user = "root"/' application/test/config/database.ini sed -i 's/^dbname.*/dbname = "omeka_test"/' application/test/config/database.ini sed -i 's/^password.*/password = "root"/' application/test/config/database.ini - + - name: Run tests run: npx gulp test --continue env: