1
0
mirror of https://github.com/seejohnrun/haste-client.git synced 2025-12-12 23:05:56 +00:00

Add unit test workflow

This commit is contained in:
Yusuf Yilmaz
2023-01-12 17:35:33 +01:00
parent b276682bdb
commit bb1058bae9
2 changed files with 28 additions and 0 deletions

27
.github/workflows/unit.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Unit
on:
push:
branches: [master]
pull_request:
branches: [UTI-2583--adapt-haste-client-to-new-api]
jobs:
unit_tests:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v1
- uses: actions/setup-ruby@v1
with:
ruby-version: 3.0.0
- 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

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
*.gem
Gemfile.lock
.rspec
.DS_STORE