Skip to content

add test workflow

add test workflow #17

name: "Test latest published version of action"
on: push
jobs:
success:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: JarvusInnovations/background-action@v1
with:
log-output-resume: stderr
wait-on: |
tcp:localhost:8033
tcp:localhost:8133
tail: true
wait-for: 5m
log-output: stderr,stdout
run: "docker compose -f compose/replication/compose.yml up mysql mysql_replica"
- run: sleep 30 # allow stderr to get output in the background