mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-12 14:55:56 +00:00
28 lines
487 B
YAML
28 lines
487 B
YAML
name: Unit
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
unit_tests:
|
|
name: Unit tests
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.0'
|
|
bundler-cache: true
|
|
|
|
- name: Run bundle install
|
|
run: |
|
|
gem install bundler
|
|
bundle install --jobs 4 --retry 3
|
|
|
|
- name: Build and test with rspec
|
|
run: bundle exec rspec spec
|