diff --git a/.github/workflows/ci-short.yml b/.github/workflows/ci-short.yml new file mode 100644 index 000000000..a46e2c81b --- /dev/null +++ b/.github/workflows/ci-short.yml @@ -0,0 +1,36 @@ +name: build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + env: + BUNDLE_WITHOUT: production + BUNDLE_BUILD__NOKOGIRI: --use-system-libraries + TZ: America/Los_Angeles + + steps: + - uses: actions/checkout@v1 + + - name: install libxslt + run: | + sudo apt-get install -y libxslt-dev + + - name: Install Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7.7 + bundler-cache: false + + - name: create test database and secrets file + run: | + gpg --pinentry-mode loopback --batch --passphrase "${{ secrets.GPG_SYMMETRIC_KEY }}" -d -o config/application.yml config/application.yml.asc + cp config/database.yml.test config/database.yml + + - name: install gems + run: | + bundle install --without production + + - name: run fluttering Cucumber tests + run: | + bundle exec cucumber features/import/ticket_sales_import_with_reserved_seating.feature:22:34:45 features/season_setup/add_house_seats.feature:15 2>/dev/null diff --git a/Gemfile b/Gemfile index da4560b57..e3165fe7c 100644 --- a/Gemfile +++ b/Gemfile @@ -54,7 +54,7 @@ group :test do gem 'email_spec' gem 'faker' gem 'fake_stripe' - gem 'webdrivers','>= 5.2.0', require: false + gem 'webdrivers','= 5.3.0', require: false gem 'rspec-json_expectations' gem 'simplecov' gem 'timecop' diff --git a/Gemfile.lock b/Gemfile.lock index 890a183ab..a991dcf6f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -333,7 +333,7 @@ GEM binding_of_caller (>= 0.7.2) railties (>= 4.0) sprockets-rails (>= 2.0, < 4.0) - webdrivers (5.3.1) + webdrivers (5.3.0) nokogiri (~> 1.6) rubyzip (>= 1.3.0) selenium-webdriver (~> 4.0, < 4.11) @@ -414,7 +414,7 @@ DEPENDENCIES uglifier vcr web-console (~> 2.0) - webdrivers (>= 5.2.0) + webdrivers (= 5.3.0) webmock where-or will_paginate