Skip to content
Snippets Groups Projects
Commit 15ff27d0 authored by Darius Schneider's avatar Darius Schneider
Browse files

system test

parent e546a121
No related branches found
No related tags found
No related merge requests found
...@@ -73,22 +73,33 @@ rails_test: ...@@ -73,22 +73,33 @@ rails_test:
- gem install bundler --silent && bundle install --jobs $(nproc) --quiet - gem install bundler --silent && bundle install --jobs $(nproc) --quiet
- bin/rails db:prepare test - bin/rails db:prepare test
#rails_system_test: rails_system_test:
# image: ruby:$RUBY_VERSION stage: test
# stage: test image: ruby:$RUBY_VERSION
# tags: tags:
# - rails - rails
# #services: services:
# # - selenium/standalone-chrome:latest - postgres:16.4
# variables: - mariadb:10.1
# SELENIUM_URL: http://selenium__standalone-chrome:4444/wd/hub - selenium/standalone-chrome:latest
# artifacts: variables:
# when: on_failure SELENIUM_URL: http://selenium__standalone-chrome:4444/wd/hub
# paths: MYSQL_DATABASE: mysql
# - tmp/screenshots MYSQL_USER: mysql
# - /tmp/chrome.log MYSQL_PASSWORD: mysql
# - log/test.log MYSQL_ROOT_PASSWORD: mysql
# expire_in: 1 week MYSQL_URL: "mysql://mysql:mysql@mysql:3306"
# script: POSTGRES_DB: postgres
# - gem install bundler --silent && bundle install --quiet POSTGRES_USER: postgres
# - bin/rails db:prepare test:system POSTGRES_PASSWORD: postgres
POSTGRES_URL: "postgresql://postgres:postgres@postgres:5432"
artifacts:
when: on_failure
paths:
- tmp/screenshots
- /tmp/chrome.log
- log/test.log
expire_in: 1 week
script:
- gem install bundler --silent && bundle install --jobs $(nproc) --quiet
- bin/rails db:prepare test:system
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment