remove turbo-rails gem #151
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
env: | |
RAILS_ENV: test | |
SAAB900_ADMIN_PASSWORD: "admin" | |
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' # Set a branch to deploy | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Start PostgreSQL | |
run: | | |
sudo systemctl start postgresql.service | |
pg_isready | |
sudo -u postgres createuser -s -d -r -w runner | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Setup database | |
run: | | |
cp ./.github/workflows/templates/database.yml.github-actions config/database.yml | |
bin/rails db:test:prepare | |
- name: Precompile assets | |
run: bin/rails assets:precompile | |
- name: bin/test | |
run: bin/test |