Skip to content

Merge branch 'add-canvas-data-to-schema' of https://github.com/cs169/… #403

Merge branch 'add-canvas-data-to-schema' of https://github.com/cs169/…

Merge branch 'add-canvas-data-to-schema' of https://github.com/cs169/… #403

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
runs-on: ubuntu-latest
env:
DB_USER: postgres
DB_PASSWORD: password
RAILS_ENV: test
RUBY_ENV: test
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
CANVAS_URL: http://bcourses.test.instructure.com/
steps:
- uses: actions/checkout@v1
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
- name: Build and test with RSpec
run: |
gem install bundler
bundle install --jobs 4 --retry 3
rails db:create
rails db:migrate
bundle exec rspec