Skip to content

Minor option code additions (#756) #511

Minor option code additions (#756)

Minor option code additions (#756) #511

Workflow file for this run

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