Skip to content

Commit

Permalink
Add test cases for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
mischabraam committed Dec 4, 2023
1 parent 68ffb65 commit 263d7ed
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 263d7ed

Please sign in to comment.