Skip to content

Configurable servers #156

Configurable servers

Configurable servers #156

name: Docker-based Testing Suite
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Build Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
- uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
context: .
file: "Dockerfile"
tags: localpytest:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false
- uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3.0.0
with:
image: localpytest:latest
options: -p 9099:9099
run: |
raven-wps start -b 0.0.0.0 -c /code/etc/demo.cfg -d
sleep 2s
raven-wps status
raven-wps stop