ISO to Aardvark XSLT #160
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: CI | |
| on: [push] | |
| jobs: | |
| rubocop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby and install dependencies | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.1 | |
| bundler-cache: true | |
| - name: Run linter | |
| run: bundle exec rubocop | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: [3.1, 3.2, 3.3] | |
| faraday_version: ['', '~> 1.0'] # Defaults to whatever's the most recent version. | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby and install dependencies | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| env: | |
| FARADAY_VERSION: ${{ matrix.faraday_version }} | |
| - name: Run tests | |
| run: bundle exec rake spec | |
| env: | |
| FARADAY_VERSION: ${{ matrix.faraday_version }} | |
| - name: Upload coverage artifacts | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: coverage | |
| path: coverage/ |