diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index a3fe8e00..d24a9f02 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,12 +11,7 @@ blocks: jobs: - name: bundle commands: - - sem-version ruby 2.7.3 - - sem-version node 14.16.1 - - checkout - - cache restore - - bundle install - - cache store + - 'true' - name: Code scanning dependencies: - Setup @@ -24,14 +19,7 @@ blocks: jobs: - name: check style + security commands: - - sem-version ruby 2.7.3 - - sem-version node 14.16.1 - - checkout - - cache restore - - bundle install - - cache store - - bundle exec rubocop - - bundle exec brakeman + - 'true' - name: Unit tests dependencies: - Code scanning @@ -49,14 +37,14 @@ blocks: jobs: - name: RSpec - model tests commands: - - bundle exec rspec spec/models + - 'true' - name: RSpec - controller tests commands: - - bundle exec rspec spec/controllers + - 'true' epilogue: always: commands: - - "[[ -f junit.xml ]] && test-results publish --name \"🧪 Unit tests\" junit.xml" + - "[[ -f junit.xml ]] && test-results publish --name \"\U0001F9EA Unit tests\" junit.xml" - name: Integration tests dependencies: - Unit tests @@ -72,14 +60,19 @@ blocks: jobs: - name: RSpec - feature specs commands: - - sem-service start postgres - - 'bundle exec rake db:setup' - - bundle exec rspec spec/features + - 'false' epilogue: always: commands: - - "[[ -f junit.xml ]] && test-results publish --name \"🏗️ Integration tests\" junit.xml" - + - "[[ -f junit.xml ]] && test-results publish --name \"\U0001F3D7️ Integration tests\" junit.xml" + - name: End-to-end tests + dependencies: + - Integration tests + task: + jobs: + - name: RSpec - e2e + commands: + - 'false' after_pipeline: task: jobs: diff --git a/Gemfile.lock b/Gemfile.lock index 5901a55f..eec0cff7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,15 +79,15 @@ GEM execjs coffee-script-source (1.12.2) colorize (0.8.1) - concurrent-ruby (1.1.8) + concurrent-ruby (1.1.10) crass (1.0.6) diff-lcs (1.4.4) erubi (1.10.0) execjs (2.7.0) ffi (1.15.0) - globalid (0.4.2) - activesupport (>= 4.2.0) - i18n (1.8.10) + globalid (1.0.1) + activesupport (>= 5.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) jbuilder (2.11.2) activesupport (>= 5.0.0) @@ -104,7 +104,7 @@ GEM method_source (1.0.0) mini_mime (1.1.0) mini_portile2 (2.5.0) - minitest (5.14.4) + minitest (5.17.0) mysql2 (0.5.3) next_rails (1.0.4) colorize (>= 0.8.1) @@ -225,7 +225,7 @@ GEM turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) - tzinfo (1.2.9) + tzinfo (1.2.10) thread_safe (~> 0.1) uglifier (4.2.0) execjs (>= 0.3.0, < 3) @@ -245,7 +245,7 @@ GEM websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.4.2) + zeitwerk (2.6.6) PLATFORMS ruby