Skip to content

[pre-commit.ci] pre-commit autoupdate #167

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #167

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.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