Hi, I'm using github actions for running my tests....
# help
j
Hi, I'm using github actions for running my tests. I want to start wiremock on a separate github service container. The following is my docker-compose set up
Copy code
wiremock:
    image: public.ecr.aws/s4w6t4b6/wiremock/wiremock:2.35.0
    volumes:
      - ./test/mocks/mappings:/home/wiremock/mappings
    ports:
      - 8080:8080
    command:
      - --verbose
      - --global-response-templating
I want to simulate the same on github service containers. How do I pass the commands verbose and global-response-templating to github service containers?
Copy code
jobs:
  test:
    runs-on: ubuntu-latest
    services:
      wiremock:
        image: public.ecr.aws/s4w6t4b6/wiremock/wiremock:2.35.0
        options: >-
          --volume ./test/mocks/mappings:/home/wiremock/mappings
        ports:
          - 8080:8080