Skip to content

Commit

Permalink
Try with services
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Engelhardt <[email protected]>
  • Loading branch information
antonengelhardt committed Nov 16, 2023
1 parent 6b03753 commit 87eb064
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: antonengelhardt/rust-docker-tools

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -32,6 +33,21 @@ jobs:
container:
image: antonengelhardt/rust-docker-tools

services:
envoy:
image: envoyproxy/envoy:v1.24-latest
ports:
- "10000:10000"
volumes:
- ./envoy.yaml:/etc/envoy/envoy.yaml
- ../target/wasm32-wasi/release:/etc/envoy/proxy-wasm-plugins
options: envoy -c /etc/envoy/envoy.yaml --concurrency 1

httpbin:
image: kennethreitz/httpbin
ports:
- "80:80"

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -61,11 +77,6 @@ jobs:
run: |
cargo build --target wasm32-wasi --release
- name: Docker-Compose up
run: |
cd integration-tests
docker-compose up -d
- name: Run Integration tests
run: |
chromium-browser
Expand Down

0 comments on commit 87eb064

Please sign in to comment.