Merge pull request #8 from Souravgoswami/PrettifyBytes_Update #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LinuxStat Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Test LinuxStat with Ruby 2.3 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.3 | |
- name: Install bundler | |
run: gem install bundler -v 2.2.6 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake install | |
run: rake install | |
- name: Run tests | |
run: linuxstat.rb 20 | |
- uses: actions/checkout@v2 | |
- name: Test LinuxStat with Ruby 2.5 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.5 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake install | |
run: rake install | |
- name: Run tests | |
run: linuxstat.rb 20 | |
- uses: actions/checkout@v2 | |
- name: Test LinuxStat with Ruby 2.7 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 2.7 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake install | |
run: rake install | |
- name: Run tests | |
run: linuxstat.rb 20 | |
- uses: actions/checkout@v2 | |
- name: Test LinuxStat with Ruby 3.0 | |
uses: ruby/[email protected] | |
with: | |
ruby-version: 3.0 | |
- name: Install dependencies | |
run: bundle install | |
- name: Run rake install | |
run: rake install | |
- name: Run tests | |
run: linuxstat.rb 20 |