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

nächster versuch

parent b98b488d
Branches
No related tags found
No related merge requests found
...@@ -16,37 +16,43 @@ variables: ...@@ -16,37 +16,43 @@ variables:
RAILS_ENV: test RAILS_ENV: test
detect_ruby: detect_ruby:
detect: stage: detect_ruby
script: echo "RUBY_VERSION=$(cat .ruby-version | sed 's/ruby-//g')" >> ruby.env script: echo "RUBY_VERSION=$(cat .ruby-version | sed 's/ruby-//g')" >> ruby.env
artifacts: artifacts:
reports: reports:
dotenv: ruby.env dotenv: ruby.env
test: .test_stage_image: &test_stage_image
default:
image: ruby:$RUBY_VERSION image: ruby:$RUBY_VERSION
stage: test
rubocop: rubocop:
<<: *test_stage_image
script: script:
- rubocop - rubocop
erb_lint: erb_lint:
<<: *test_stage_image
script: script:
- erblint --lint-all --allow-no-files true - erblint --lint-all --allow-no-files true
haml_lint: haml_lint:
<<: *test_stage_image
script: script:
- haml-lint - haml-lint
brakeman: brakeman:
<<: *test_stage_image
script: script:
- brakeman -A --except UnscopedFind - brakeman -A --except UnscopedFind
rails_test: rails_test:
<<: *test_stage_image
script: script:
- bin/rails db:prepare test - bin/rails db:prepare test
rails_system_test: rails_system_test:
<<: *test_stage_image
services: services:
- selenium/standalone-chrome:latest - selenium/standalone-chrome:latest
variables: variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment