-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from JarvusInnovations/feat/fix-tail
Chore: Add manually dispatched workflow to test latest published version
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "Test latest published version of action" | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
success: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
- uses: JarvusInnovations/background-action@latest | ||
with: | ||
run: | | ||
PORT=1212 node test/server.js & | ||
PORT=2121 node test/server.js & | ||
PORT=3232 node test/server.js & | ||
wait-on: | | ||
http://localhost:1212/bar | ||
tcp:localhost:1212 | ||
http://localhost:2121/bar | ||
tcp:localhost:2121 | ||
http://localhost:3232/bar | ||
tcp:localhost:3232 | ||
log-output-resume: stderr | ||
tail: true | ||
wait-for: 5m | ||
log-output: stderr,stdout | ||
- run: sleep 30 # allow stderr to get output in the background |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters