diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 76460ed..cf872aa 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -25,3 +25,13 @@ jobs: bundler-cache: true - run: bundle exec rails db:migrate - run: bundle exec rake test + build_success: + if: always() + needs: + - tests + runs-on: Ubuntu-latest + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/update_appraisals.yml b/.github/workflows/update_appraisals.yml deleted file mode 100644 index fd42cc5..0000000 --- a/.github/workflows/update_appraisals.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -name: Update Appraisals -on: - push: ~ - schedule: - - cron: '0 13 * * 0' # Every Sunday at 1PM UTC -permissions: - contents: write -jobs: - update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.2 - - name: Update Appraisal Gemfiles - run: bundle install && bundle exec appraisal install - - name: Commit & Push changes - run: | - git config --global user.name 'Invoca Automation' - git config --global user.email 'octothorpe@users.noreply.github.com' - git commit -am "non-production: Update Appraisal Gemfiles" || exit 0 - git push diff --git a/Gemfile b/Gemfile index 2a9561e..608388a 100644 --- a/Gemfile +++ b/Gemfile @@ -14,6 +14,6 @@ gem 'pry' gem 'rr', '3.1.0' gem 'rubocop', require: false gem 'shoulda' -gem 'sqlite3', "~> 2.0" +gem 'sqlite3', "~> 1.4" gem 'test-unit', '3.6.2' gem 'test_after_commit', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 02fbeab..f41334f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -232,7 +232,7 @@ GEM shoulda-context (2.0.0) shoulda-matchers (4.5.1) activesupport (>= 4.2.0) - sqlite3 (2.0.2) + sqlite3 (1.7.3) mini_portile2 (~> 2.8.0) stringio (3.1.1) strscan (3.1.0) @@ -266,7 +266,7 @@ DEPENDENCIES rr (= 3.1.0) rubocop shoulda - sqlite3 (~> 2.0) + sqlite3 (~> 1.4) test-unit (= 3.6.2) test_after_commit diff --git a/gemfiles/activerecord_6_0.gemfile b/gemfiles/activerecord_6_0.gemfile index df14e3c..b8995a4 100644 --- a/gemfiles/activerecord_6_0.gemfile +++ b/gemfiles/activerecord_6_0.gemfile @@ -9,10 +9,10 @@ gem "jquery-rails" gem "minitest", "~> 5.1" gem "minitest-reporters" gem "pry" -gem "rr", "1.1.2" +gem "rr", "3.1.0" gem "rubocop", require: false gem "shoulda" -gem "sqlite3", "~> 2.0" +gem "sqlite3", "~> 1.4" gem "test-unit", "3.6.2" gem "test_after_commit", require: false gem "activerecord", "~> 6.0.0" diff --git a/gemfiles/activerecord_6_1.gemfile b/gemfiles/activerecord_6_1.gemfile index 6f4878e..1ce9508 100644 --- a/gemfiles/activerecord_6_1.gemfile +++ b/gemfiles/activerecord_6_1.gemfile @@ -9,10 +9,10 @@ gem "jquery-rails" gem "minitest", "~> 5.1" gem "minitest-reporters" gem "pry" -gem "rr", "1.1.2" +gem "rr", "3.1.0" gem "rubocop", require: false gem "shoulda" -gem "sqlite3", "~> 2.0" +gem "sqlite3", "~> 1.4" gem "test-unit", "3.6.2" gem "test_after_commit", require: false gem "activerecord", "~> 6.1.0" diff --git a/gemfiles/activerecord_7_0.gemfile b/gemfiles/activerecord_7_0.gemfile index e059cab..9cc5516 100644 --- a/gemfiles/activerecord_7_0.gemfile +++ b/gemfiles/activerecord_7_0.gemfile @@ -9,10 +9,10 @@ gem "jquery-rails" gem "minitest", "~> 5.1" gem "minitest-reporters" gem "pry" -gem "rr", "1.1.2" +gem "rr", "3.1.0" gem "rubocop", require: false gem "shoulda" -gem "sqlite3", "~> 2.0" +gem "sqlite3", "~> 1.4" gem "test-unit", "3.6.2" gem "test_after_commit", require: false gem "activerecord", "~> 7.0.0" diff --git a/gemfiles/activerecord_7_1.gemfile b/gemfiles/activerecord_7_1.gemfile index 17c870c..0ef1003 100644 --- a/gemfiles/activerecord_7_1.gemfile +++ b/gemfiles/activerecord_7_1.gemfile @@ -9,10 +9,10 @@ gem "jquery-rails" gem "minitest", "~> 5.1" gem "minitest-reporters" gem "pry" -gem "rr", "1.1.2" +gem "rr", "3.1.0" gem "rubocop", require: false gem "shoulda" -gem "sqlite3", "~> 2.0" +gem "sqlite3", "~> 1.4" gem "test-unit", "3.6.2" gem "test_after_commit", require: false gem "activerecord", "~> 7.1.0"