Skip to content

Commit

Permalink
Fix github tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegorov committed Jan 20, 2024
1 parent de4285c commit db83e6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Install dependencies
run: |
sudo apt-get install wget -y
bundle install
bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rspec
4 changes: 4 additions & 0 deletions docs/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ require 'yadisk'

### Setup Github actions
* [Building and testing Ruby](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-ruby)
* [actions/starter-workflows](https://github.com/actions/starter-workflows/blob/main/ci/ruby.yml)
* [actions/checkout](https://github.com/actions/checkout)
* [ruby/setup-ruby](https://github.com/ruby/setup-ruby)
* [Example .github/workflows/tests.yml in discourse](https://github.com/discourse/discourse/blob/main/.github/workflows/tests.yml)

0 comments on commit db83e6d

Please sign in to comment.