Add git ignore and web workflows #292
Workflow file for this run
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: Rspec Tests | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@f20f1eae726df008313d2e0d78c5e602562a1bcf | |
with: | |
ruby-version: head | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install gems | |
run: bundle install | |
- name: Build and test with rspec | |
env: | |
OPENAI_ACCESS_TOKEN: ${{ secrets.OPENAI_ACCESS_TOKEN }} | |
run: bundle exec rspec spec |