Skip to content

Commit

Permalink
#18 gha
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 17, 2023
1 parent 3a0f60b commit adb411e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: codecov
on:
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- run: bundle update
- run: bundle exec rake
- uses: codecov/codecov-action@v4
with:
file: coverage/.resultset.json
fail_ci_if_error: true
24 changes: 24 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: rake
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: test
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2022]
ruby: [2.7, 3.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle update
- run: bundle exec rake

0 comments on commit adb411e

Please sign in to comment.