Minor option code additions (#756) #511
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] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
env: | |
TESLA_EMAIL: elon.musk@teslamotors.com | |
TESLA_PASS: oilLOL | |
TESLA_CLIENT_ID: 1 | |
TESLA_CLIENT_SECRET: 2 | |
TESLA_ACCESS_TOKEN: 3 | |
TESLA_REFRESH_TOKEN: 4 | |
strategy: | |
matrix: | |
ruby-version: ['2.7', '3.0', '3.1', '3.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Lint code | |
run: bundle exec standardrb | |
- name: Run test suite | |
run: bundle exec rake |