Fix self-upgrade by adding enabled-repos support to dnf #1377
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: Ruby Tests | |
on: pull_request | |
jobs: | |
rubocop: | |
uses: theforeman/actions/.github/workflows/rubocop.yml@v0 | |
with: | |
command: bundle exec rubocop --parallel --format github | |
test_ruby: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: ['2.7.4', '3.0.2', '3.1.3', '3.2.1'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec rake test |