Update README.md #6
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: Tests | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- master | |
jobs: | |
sqlite: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_PATH_RELATIVE_TO_CWD: true | |
steps: | |
- name: SQLite3 version | |
run: sqlite3 --version | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler: default | |
bundler-cache: true | |
rubygems: latest | |
- name: StandardRb check | |
run: bundle exec standardrb | |
- name: Run tests | |
env: | |
DATABASE_URL: "sqlite3:signalman_test" | |
run: | | |
bin/rails db:test:prepare | |
bin/rails test:all |