Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
- name: Install dependencies
run: bundle install
bundler-cache: true # 'bundle install' and caching
- name: Checking offenses
run: bundle exec rubocop

Expand All @@ -29,8 +28,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5
- name: Install dependencies
run: bundle install
bundler-cache: true # 'bundle install' and caching
- name: Testing docs
run: bundle exec ruby scripts/command_docs.rb check

Expand All @@ -41,11 +39,6 @@ jobs:
ruby: [2.5, 2.6, 2.7.2, head]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- uses: actions/checkout@v2
with:
repository: tmux/tmux
Expand All @@ -57,8 +50,12 @@ jobs:
run: cd tmux && sh autogen.sh && ./configure && make && sudo make install
- name: Tmux version
run: tmux -V
- name: Install dependencies
run: bundle install
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Kill tmux
run: tmux kill-server || true
- name: Start tmux
Expand All @@ -83,6 +80,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install tmux
run: brew install tmux
- name: Start tmux
Expand All @@ -91,7 +89,5 @@ jobs:
run: tmux new-session -t dummy -d
- name: Wait for tmux
run: ruby spec/wait_for_tmux.rb
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec parallel_rspec -n 2 spec/