зеркало из https://github.com/arthurnn/twirp-ruby.git
Adds running test on GitHub actions
This commit is contained in:
Родитель
4310240b16
Коммит
8dc86c3ea9
|
@ -0,0 +1,31 @@
|
|||
name: Run Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
ruby_version:
|
||||
- "2.7"
|
||||
- "3.0"
|
||||
- "3.1"
|
||||
- "head"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby_version }}
|
||||
bundler-cache: true
|
||||
|
||||
- name: Run Tests
|
||||
run: bundle exec rake test
|
Загрузка…
Ссылка в новой задаче