Skip to content

Use extra action for running server in the background #16

Use extra action for running server in the background

Use extra action for running server in the background #16

Workflow file for this run

name: Run tests
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.x]
steps:
- uses: actions/checkout@v4
- run: make install
- uses: JarvusInnovations/background-action@v1
with:
run: make server &
wait-on: tcp://127.0.0.1:8000
wait-for: 5m
tail: true
log-output: true
log-output-resume: stderr
log-output-if: failure
working-directory: .
- run: sh ./test.sh