From f0a9c13ad85f742876a90e1ac3f0573f449a607e Mon Sep 17 00:00:00 2001 From: Denis Smet Date: Mon, 11 Mar 2024 00:38:49 +0400 Subject: [PATCH] Fix typo in Makefile command and update PHP version to 8.3 in workflow demo.yml --- .github/workflows/demo.yml | 7 ++----- Makefile | 5 +++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 03748da2..cca6f530 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -28,9 +28,6 @@ jobs: pure-php: name: Pure PHP runs-on: ubuntu-latest - strategy: - matrix: - php-version: [ 8.1, 8.2, 8.3 ] steps: - name: Checkout code uses: actions/checkout@v3 @@ -40,11 +37,11 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-version }} + php-version: 8.3 tools: composer - name: Build the Project run: make update --no-print-directory - - name: 🧪 PHPUnit Tests + - name: Validate CSV run: make demo-github diff --git a/Makefile b/Makefile index 00893b46..9c17551d 100644 --- a/Makefile +++ b/Makefile @@ -41,11 +41,12 @@ demo-invalid: ##@Project Run demo invalid CSV --schema=./tests/schemas/demo_invalid.yml \ --output=github -demo-gihub: ##@Project Run demo invalid CSV +demo-github: ##@Project Run demo invalid CSV @${PHP_BIN} ./csv-blueprint validate:csv \ --csv=./tests/fixtures/demo.csv \ --schema=./tests/schemas/demo_invalid.yml \ - --output=github + --output=github\ + --mute-errors demo: ##@Project Run all demo commands