mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
Implement GitHub actions ci (#85)
* setup github actions ci * add ruby 3.0 in versions to test * Drop really old EOL Ruby versions, remove DISABLE_SPRING --------- Co-authored-by: Sami Samhuri <sami@samhuri.net>
This commit is contained in:
parent
6e562a2788
commit
cc29dc7868
2 changed files with 24 additions and 0 deletions
23
.github/workflows/ci.yml
vendored
Normal file
23
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: Grape Logging CI
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
ruby-version: ["3.0", "3.1", "3.2", "3.3"]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby-version }}
|
||||
bundler-cache: true
|
||||
- name: Install dependencies
|
||||
run: bundle install
|
||||
- name: Run tests
|
||||
run: bundle exec rspec spec/
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,3 +8,4 @@
|
|||
/spec/reports/
|
||||
/tmp/
|
||||
.rspec
|
||||
.idea/
|
||||
Loading…
Reference in a new issue