Build Edge #260
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: Build Edge | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: "10 4 * * */5" | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
CI: true | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["2.7", "3.0"] | |
gemfile: [ | |
"gemfiles/resmaster.gemfile" | |
] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install system deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsqlite3-dev | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run RSpec | |
run: | | |
bundle exec rspec |