This action initializes a Traffic Ops database in a locally running PostgresQL instance.
exit-code
1 if the database initialized successfully.
jobs: tests: runs-on: ubuntu-latest services: postgres: image: postgres:11.9 env: POSTGRES_USER: traffic_ops POSTGRES_PASSWORD: twelve POSTGRES_DB: traffic_ops ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Checkout uses: actions/checkout@master - name: ./.github/actions/todb-init