Skip to content

Implement i8 and detect types correctly in MySQL #737

Implement i8 and detect types correctly in MySQL

Implement i8 and detect types correctly in MySQL #737

name: synth-postgres
on:
push:
branches: [master]
paths: [ "**/*.rs", "synth/testing_harness/postgres/**" ]
pull_request:
branches: [master]
paths: [ "**/*.rs", "synth/testing_harness/postgres/**" ]
workflow_dispatch:
env:
RUSTFLAGS: "-D warnings"
jobs:
e2e_tests_postgres:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--name postgres-synth-harness
-p 5432:5432
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
PORT: 5432
PASSWORD: postgres
steps:
- uses: actions/checkout@v2
- run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends jq
- uses: dtolnay/rust-toolchain@nightly
- run: cargo install --locked --debug --path=synth
- run: ./e2e.sh test-generate
working-directory: synth/testing_harness/postgres
- run: ./e2e.sh test-import
working-directory: synth/testing_harness/postgres
- run: ./e2e.sh test-complete
working-directory: synth/testing_harness/postgres
- run: ./e2e.sh test-warnings
working-directory: synth/testing_harness/postgres
- run: ./e2e.sh test-arrays
working-directory: synth/testing_harness/postgres