Skip to content

Commit

Permalink
test: add tests for mailpit
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed May 30, 2024
1 parent 6832530 commit ff37147
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- base
- dev-tools
- php
- mailpit
- su-exec
- vip-cli
- wp-cli
Expand Down
11 changes: 11 additions & 0 deletions features/test/mailpit/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

# shellcheck source=/dev/null
source dev-container-features-test-lib

# shellcheck disable=SC2016
check "mailpit exists and is executable" test -x /usr/local/bin/mailpit
check "/etc/sv/mailpit/run exists and is execuatble" test -x /etc/sv/mailpit/run
check "/etc/service/mailpit is a symlink" test -L /etc/service/mailpit

reportResults

0 comments on commit ff37147

Please sign in to comment.