Fix false self-referential mixin when bare name matches ancestor name… #511
This file contains hidden or 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: Unit Tests | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build: | |
| name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}" | |
| runs-on: ${{ matrix.os }} | |
| container: ${{ matrix.container }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| # 3.0 is interpreted as 3 | |
| ruby: ["3.0", 3.1, 3.2, 3.3, 3.4, "4.0"] | |
| include: | |
| - os: ubuntu-latest | |
| container: ruby:2.2 | |
| ruby: 2.2 | |
| - os: ubuntu-latest | |
| container: ruby:2.3 | |
| ruby: 2.3 | |
| - os: ubuntu-latest | |
| container: ruby:2.4 | |
| ruby: 2.4 | |
| - os: ubuntu-latest | |
| container: ruby:2.5 | |
| ruby: 2.5 | |
| - os: ubuntu-latest | |
| container: ruby:2.6 | |
| ruby: 2.6 | |
| - os: ubuntu-latest | |
| container: ruby:2.7 | |
| ruby: 2.7 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Install Ruby & 'bundle install' | |
| if: matrix.container == null | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Bundle install | |
| if: matrix.container != null | |
| run: bundle install --jobs=4 --retry=3 | |
| - name: Run Test | |
| run: | | |
| ruby -v | |
| bundle exec rake | |
| env: | |
| CI: true |