Delete unused languages_users table from db #1944
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: Run rake after_party | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "doc/**" | |
- "**/*.md" | |
- "bin/**" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "doc/**" | |
- "**/*.md" | |
- "bin/**" | |
jobs: | |
rake-after_party: | |
runs-on: ubuntu-latest | |
services: | |
db: | |
image: postgres:12.3 | |
env: | |
POSTGRES_PASSWORD: password | |
ports: | |
- 5432:5432 | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install PostgreSQL client | |
run: | | |
sudo apt-get -yqq install libpq-dev | |
- name: Build App and run rake after_party | |
env: | |
POSTGRES_HOST: localhost | |
DATABASE_HOST: localhost | |
POSTGRES_USER: postgres | |
CASA_DATABASE_PASSWORD: password | |
POSTGRES_PASSWORD: password | |
POSTGRES_HOST_AUTH_METHOD: trust | |
POSTGRES_PORT: 5432 | |
PGHOST: localhost | |
PGUSER: postgres | |
RAILS_ENV: test | |
run: | | |
rake db:create | |
rake db:schema:load | |
rake after_party:run |