SUP-1712-change the way to fetch token #930
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: Native-Ruby-Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
Native-Ruby-Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Toolkit Repo | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Smoke test | |
run: ruby toolkit.rb task=help | |
- name: Run tests | |
run: bundle exec rspec --format RSpec::Github::Formatter --format documentation | |