From c6ffc4e105d3d41ba37758516a426a054e43c892 Mon Sep 17 00:00:00 2001 From: Sajed Zarinpour Nashroudkoli Date: Fri, 6 Sep 2024 17:59:45 -0400 Subject: [PATCH] cleaning up php.yml --- .github/workflows/php.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5373d80..c3ebf8d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -37,22 +37,14 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress - # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" - # Docs: https://getcomposer.org/doc/articles/scripts.md - - # - name: Run test suite - # run: composer run-script test - # - name: Checkout code - # uses: actions/checkout@v2 - name: Start MySQL run: | sudo /etc/init.d/mysql start mysql -e "CREATE DATABASE IF NOT EXISTS $DB_DATABASE;" -u$DB_USER -p$DB_PASSWORD - # Add more steps for testing and other tasks - - name: Run Tests - run: | - pwd - ls -ali - vendor/bin/phpunit ./tests + # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" + # Docs: https://getcomposer.org/doc/articles/scripts.md + + - name: Run test suite + run: composer run-script test