Merge pull request #23 from montekaka/main #77
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: Ruby | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Install Bundler | |
run: gem install bundler -v 2.4.22 | |
- name: Install dependencies | |
run: bundle _2.4.22_ install | |
- name: Run tests | |
run: export MAILERLITE_API_TOKEN=dummy_token && bundle exec rspec spec/*rspec.rb |