Skip to content

Commit

Permalink
Updated sleep command to fix local-e2e tests (#1785)
Browse files Browse the repository at this point in the history
- local e2e tests were failing on macOS because of improper usage of the `sleep` command
- on macOS, the `sleep` command does not accept a suffix (e.g. `s`, `m`, `h`) — only an integer value of seconds is allowed
  • Loading branch information
cmraible authored Sep 13, 2023
1 parent ee26bf9 commit 42ec13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/local-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
- name: Setting up Ghost instance
run: node ./cli/bin/ghost install local -d ghost
- name: Verifying Installation
run: sleep 2s && curl -f http://localhost:2368 | grep ghost
run: sleep 2 && curl -f http://localhost:2368 | grep ghost

0 comments on commit 42ec13b

Please sign in to comment.