From 406713afd91f14b044780979217671c2a6009a5c Mon Sep 17 00:00:00 2001 From: Rafa Floresta Date: Fri, 19 Dec 2025 13:29:25 -0300 Subject: [PATCH] Migrate from Travis CI to GitHub Actions - Add GitHub Actions workflow testing Ruby 2.7, 3.0, 3.1, 3.2, 3.3 - Remove outdated Travis CI config (was testing Ruby 2.3-2.5) - Update README badge --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ .travis.yml | 26 -------------------------- README.md | 2 +- 3 files changed, 23 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..905e055 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + ruby: ['2.7', '3.0', '3.1', '3.2', '3.3'] + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - run: bundle exec appraisal install + - run: bundle exec appraisal rake test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5f1c0e2..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: ruby -rvm: - - 2.3 - - 2.4 - - 2.5 - -cache: bundler - -before_install: - - gem update --system --no-document - - gem install rake - - gem install bundler - -script: bundle exec rake - -deploy: - provider: rubygems - api_key: - secure: pReiutaKz4gErUDrBoLt/a4oMC+KjXBgsUW6uVhdlsvBQ1IYiUjWoV09dBrxlsCsE9Pp0f5vwShKXIe5rUY1AGwXTWxyObNNBffRIz2YrolOJieG8vwEJ7v8sy2GGaxT/mVa1KK0HvNHXI/rpGA+Z3Qg5HqKpvDjrB36CKZgzU9CWrK1+wncuoatHDj5ZDsseXCWaEmQxQjHsYML4Wh2mhfjlthMXuMxAegDb9iY2VydnNZuQUd8An2NJF6BGFOKQySwM2gtrpNO6rhjlMBhIVdZkFx4g2lFJGuyykon0HOrj1jBtJtoHrUWLcu959pfZcqLDO1ut0ZVOXjaxouNu8Hf9+qCXzKwfAAmevkCD3u8LYg0W3MFkBadseyxCUYgInFxBib8Qw4JaVPrF0ccoaOBZYsY77MB+KEx830F/Ag2JLjVJ0CugJ9idzah/vjZLcyNkSi9QBcYeQzbtAU3jMsC0P4yrRYbx4z1eAWHLOPHjr87L8GZY12DXzbjV/Sp9EjpEq4DGBVQRLPkEjvdJiju6e3JzMHAb3CkDtduhdAmYTdUr8qWNSE2da4Hu3+8fRGQVkGdFkJM/WCOuEKBlC041KGGVO4KSJfMBfl4ZX2SmZoc0KC3qNPKK/l2UmF+b5PPXqIpGa0tsCmrXHfevmpJPgwMnvSWdOztxeBlNoU= - gem: chemex - on: - tags: true - repo: procore/chemex - -notifications: - email: false diff --git a/README.md b/README.md index 5187ee7..615f8e8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Sift -[![Build Status](https://travis-ci.org/procore/sift.svg?branch=master)](https://travis-ci.org/procore/sift) +[![Tests](https://github.com/procore/sift/actions/workflows/test.yml/badge.svg)](https://github.com/procore/sift/actions/workflows/test.yml) A tool to build your own filters and sorts with Rails and Active Record!