Skip to content
Snippets Groups Projects
Select Git revision
  • ee57bbf9744e4dd44844509e9c2b4729f865f231
  • stable default protected
  • MA_Pape_2018
  • MA_2018_Lopatin
  • feature/mesh_viewer
  • feature/#468_access_isosurface_scalar
  • feature/#459_default_primitives
  • master protected
  • feature/#470_Create_a_color_lookup_table
  • feature/#473_resize_companion_window
  • feature/#462_do_not_use_arb_extensions
  • feature/#495_Provide_data_for_larger_isosurfaces
  • feature/#323_default_image
  • feature/#480_Create_a_smaller_test_mesh_for_combustion_demo
  • feature/#236_Get_Integration_tests_running_on_CI
  • feature/#447_Copy_standard_assets_to_build_folder
  • 447-copy-standard-assets-to-build-folder-and-remove-resource-path
  • feature/#445_mesh_render_settings_component
  • feature/#251_Make_sure_tests_cpp_is_compiled_once
  • feature/#455_Remove_navigation_and_improve_interaction_for_combustion_demo
  • feature/446_strange_txt_files
  • v18.06.0
  • v18.05.0
  • #251_bad
  • #251_good
  • v18.03.0
  • v18.02.0
  • v18.01.0
  • v17.12.0
  • v17.11.0
  • v17.10.0
  • v17.09.0
  • v17.07.0
33 results

engine.cpp

Blame
  • gitlab-ci.yml 2.77 KiB
    variables:
      CI: "true"
      RAILS_ENV: test
    
    set_ruby_version:
      stage: build
      script:
        - echo "RUBY_VERSION=$(cat .ruby-version | sed 's/ruby-//g')" >> build.env
      artifacts:
        reports:
          dotenv: build.env
        expire_in: 1 week
    
    rubocop:
      stage: test
      image: ruby:$RUBY_VERSION
      tags:
        - rails
      script:
        - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
        - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 --silent
        - rubocop
    
    erb_lint:
      stage: test
      image: ruby:$RUBY_VERSION
      tags:
        - rails
      script:
        - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
        - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/erb_lint.yml" -O ".erb_lint.yml"
        - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 erb_lint:0.8.0 --silent
        - erb_lint --lint-all --allow-no-files true
    
    haml_lint:
      stage: test
      image: ruby:$RUBY_VERSION
      tags:
        - rails
      script:
        - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml"
        - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/haml-lint.yml" -O ".haml-lint.yml"
        - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 haml_lint:0.59.0 --silent
        - haml-lint
    
    brakeman:
      stage: test
      image: ruby:$RUBY_VERSION
      tags:
        - rails
      script:
        - rm -f ./config/brakeman.yml ./config/brakeman.ignore
        - gem install brakeman:7.0.0 --silent
        - brakeman -A --except UnscopedFind
    
    rails_test_all:
      stage: test
      image: ruby:$RUBY_VERSION
      tags:
        - rails
      services:
        - postgres:16.4
        - mariadb:latest
        - name: selenium/standalone-chrome:latest
          alias: chrome
      variables:
        BUNDLE_PATH: vendor/bundle
        SELENIUM_URL: http://chrome:4444/wd/hub
        MYSQL_DATABASE: mysql
        MYSQL_USER: mysql