From 263d7ed18c4f2f633776372a5fd8d12c29789317 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 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index e4a62b17..e7c2e4f8 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -12,14 +12,14 @@ jobs: strategy: matrix: os: [macos-12] -# php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1'] +# 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: |