Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Update selenium settings to support the latest sample-ci #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,14 @@ jobs:

install_docker_compose_settings
export STRIPE_WEBHOOK_SECRET=$(retrieve_webhook_secret)
export COMPOSE_FILE=docker-compose.yml:docker-compose.selenium.yml
echo "SELENIUM_URL=http://selenium:4444/wd/hub" >> .env

for lang in $(cat .cli.json | server_langs_for_integration decline-on-card-authentication)
do
[ "$lang" = "php" ] && continue

configure_docker_compose_for_integration decline-on-card-authentication "$lang" ../../client/web
docker-compose up -d && wait_web_server
docker-compose --profile=e2e up -d && wait_web_server
docker-compose exec -T runner bundle exec rspec spec/decline_on_card_authentication_spec.rb
done

Expand All @@ -44,7 +43,7 @@ jobs:
[ "$lang" = "php" ] && continue

configure_docker_compose_for_integration using-webhooks "$lang" ../../client/web
docker-compose up -d && wait_web_server
docker-compose --profile=e2e up -d && wait_web_server
if [ "$lang" = "java" ]; then
docker-compose exec -T runner bundle exec rspec spec/using_webhooks_spec.rb
else
Expand All @@ -57,7 +56,7 @@ jobs:
[ "$lang" = "php" ] && continue

configure_docker_compose_for_integration without-webhooks "$lang" ../../client/web
docker-compose up -d && wait_web_server
docker-compose --profile=e2e up -d && wait_web_server
docker-compose exec -T runner bundle exec rspec spec/without_webhooks_spec.rb
done

Expand Down
6 changes: 0 additions & 6 deletions docker-compose.selenium.yml

This file was deleted.