Revert "Use turbo to render buttons" #73
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-and-test | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Create env file' | |
run: | | |
touch .env | |
echo RAILS_ENV=test >> .env | |
echo COMPOSE_PROFILES=postgres,web >> .env | |
echo POSTGRES_USER=postgres >> .env | |
echo POSTGRES_PASSWORD=password >> .env | |
cat .env | |
- name: Build docker | |
run: docker-compose build | |
- name: Setup test environment | |
run: docker-compose run --rm web ./bin/setup | |
- name: Run tests | |
run: docker-compose run --rm web bundle exec rspec |