Skip to content

Commit

Permalink
fixing flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Jan 2, 2024
1 parent ace396a commit 22e9c43
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-short.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -414,7 +414,7 @@ DEPENDENCIES
uglifier
vcr
web-console (~> 2.0)
webdrivers (>= 5.2.0)
webdrivers (= 5.3.0)
webmock
where-or
will_paginate
Expand Down

0 comments on commit 22e9c43

Please sign in to comment.