Build(deps-dev): Update aruba requirement from ~> 0.6.2 to ~> 2.2.0 #109
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: [ master, devel ] | |
paths: | |
- '*.gemspec' | |
- '**.rb' | |
- 'Rakefile' | |
- 'Gemfile' | |
- 'Gemfile.lock' | |
- 'bin/tetra' | |
- 'spec/data/' | |
- 'lib/template/bundled' | |
- '.github/workflows/test.yml' | |
pull_request: | |
branches: [ master, devel ] | |
paths: | |
- '*.gemspec' | |
- '**.rb' | |
- 'Rakefile' | |
- 'Gemfile' | |
- 'Gemfile.lock' | |
- 'bin/tetra' | |
- 'spec/data/' | |
- 'lib/template/bundled' | |
- '.github/workflows/test.yml' | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' | |
ruby: ['2.7', '3.0', '3.1', '3.2'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install dependencies | |
run: bundle install | |
- name: git | |
run: | | |
git config --global user.name "GitHub Actions Bot" | |
git config --global user.email "<>" | |
- name: Run tests and collect coverage | |
run: bundle exec rake | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |