Update regression_tests.yml #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: Origen Testers Regression Tests | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| ruby-version: [3.0.4, 3.1, 3.3.1, 4.0.0] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| - name: Update Env | |
| run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV | |
| - name: Install Bundler | |
| # last version to support our version of Ruby/RubyGems was 2.4.22 | |
| run: gem install bundler -v 2.4.22 | |
| - name: Work around bundler/ruby/gem/rubocop-ast version issue | |
| if: matrix.ruby-version == '2.6' | |
| run: gem install rubocop-ast -v 1.30.0 | |
| - name: Install dependencies | |
| run: bundle install | |
| - name: Gem Install Origen | |
| run: gem install origen | |
| - name: Setup Dependencies | |
| run: origen -v | |
| - name: Run Origen Lint | |
| run: origen lint --no-correct | |
| - name: Set Origen to debug mode | |
| run: origen m debug | |
| - name: Set target | |
| run: origen t dut.rb | |
| - name: Set environment | |
| run: origen e j750.rb | |
| - name: Run Regression tests | |
| run: origen test -c | |
| - name: Coveralls GitHub Action | |
| uses: coverallsapp/github-action@v2.3.4 | |
| with: | |
| flag-name: ${{ join(matrix.*, '-') }} | |
| parallel: true | |
| - name: Verify Building website | |
| run: origen web compile --no-serve | |
| finish: | |
| needs: build | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Coveralls Finished | |
| uses: coverallsapp/github-action@v2.3.4 | |
| with: | |
| parallel-finished: true |