mirror of
https://github.com/seejohnrun/haste-client.git
synced 2025-12-23 20:11:29 +00:00
update ga test workflow
This commit is contained in:
23
.github/workflows/unit.yml
vendored
23
.github/workflows/unit.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
branches: [master]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- UTI-2583--adapt-haste-client-to-new-api
|
- no-jira-update-hastebin-urls
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit_tests:
|
unit_tests:
|
||||||
@@ -14,15 +14,16 @@ jobs:
|
|||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 3.0.0
|
ruby-version: '3.0'
|
||||||
|
bundler-cache: true
|
||||||
|
|
||||||
- name: Run bundle install
|
- name: Run bundle install
|
||||||
run: |
|
run: |
|
||||||
gem install bundler
|
gem install bundler
|
||||||
bundle install --jobs 4 --retry 3
|
bundle install --jobs 4 --retry 3
|
||||||
|
|
||||||
- name: Build and test with rspec
|
- name: Build and test with rspec
|
||||||
run: bundle exec rspec spec
|
run: bundle exec rspec spec
|
||||||
|
|||||||
Reference in New Issue
Block a user