From c834842d090aebcfb43dbe90372be27198cc2397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 1 Aug 2025 13:29:07 +0200 Subject: [PATCH] Enable GH actions --- .github/workflows/ruby.yml | 29 +++++++++++++++++++++++++++++ .travis.yml | 12 ------------ README.md | 2 -- 3 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/ruby.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..43941da --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,29 @@ +name: Ruby + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + test: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + ruby-version: ['2.5', '3.0', '3.1', '3.2'] + + steps: + - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby-version }} + bundler-cache: true + - name: Run tests + run: bundle exec rspec spec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0d92a15..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: ruby -rvm: - - "2.0.0" - - "2.1" - - "2.2" - - "2.3" - - "2.4" - - "2.5" - - "2.6" - - "2.7" - - "ruby-head" -script: rake diff --git a/README.md b/README.md index 8a4c503..78f7637 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![Build Status](https://travis-ci.org/voxik/abrt-ruby.svg?branch=master)](https://travis-ci.org/voxik/abrt-ruby) - # abrt Provides ABRT reporting support for libraries/applications written using Ruby.