From 6e0b0f71ab7cc2da2a739948d95daab16970bda5 Mon Sep 17 00:00:00 2001 From: Mischa Braam Date: Mon, 4 Dec 2023 15:42:12 +0100 Subject: [PATCH] Add test cases for nginx --- .github/workflows/test-workflow.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index e4a62b17..7963a377 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -11,15 +11,15 @@ jobs: # Build on Monterey and later Ventura (Not public released yet: https://github.com/actions/runner-images) strategy: matrix: - os: [macos-12] -# php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1'] + os: [macos-12, macos-13] +# php: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1'] php: ['8.1'] runs-on: ${{matrix.os}} name: ${{matrix.os}} with ${{matrix.php}} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: '[INSTALL] Install PHP 8.0' uses: shivammathur/setup-php@v2 @@ -36,7 +36,10 @@ jobs: - name: '[INSTALL] Valet install' run: ./valet-plus install -# @todo; add test mailhog.test (should return 200 status code) + - name: '[TEST] Nginx' + run: | + sudo nginx -t + curl 127.0.0.1 | grep "Valet - Not Found" - name: '[TEST] DB commands' run: |