name: Build development enviroment

on:
  pull-requests:
    branches:
      - main

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Bring up containers
        run: |
          docker-compose build
          docker-compose run --rm web rails db:create db:migrate db:seed
          docker-compose up -d
          sleep 30
          docker ps -a | (! grep Exited ) # Return a non-zero exit code if any of the containers are stopped


name: Build development enviroment

on:
  pull_request:
    branches:
      - main

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Bring up containers
        run: |
          docker-compose build
          docker-compose run --rm web rails db:create db:migrate db:seed
          docker-compose up -d
          sleep 30
          docker ps -a | (! grep Exited ) # Return a non-zero exit code if any of the containers are stopped


Fix typo in github action
Fix typo in github action
