8000 build: Run MySQL and PostgreSQL locally on the runner by kyleconroy · Pull Request #3095 · sqlc-dev/sqlc · GitHub
[go: up one dir, main page]

Skip to content

build: Run MySQL and PostgreSQL locally on the runner #3095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Jan 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
2b6105d
How long does starting PostgreSQL take?
kyleconroy Jan 2, 2024
6b6cd74
Update ddl_test to talk to local server
kyleconroy Jan 2, 2024
231b085
Re-run
kyleconroy Jan 2, 2024
2657f38
Create a new local sqltest package
kyleconroy Jan 2, 2024
7805817
Re-enabled some tests
kyleconroy Jan 3, 2024
83aab1a
Disable some tests again
kyleconroy Jan 3, 2024
840a4b7
Remove unused package
kyleconroy Jan 3, 2024
d265bc0
PostgreSQL 16
kyleconroy Jan 3, 2024
8998b20
fix
kyleconroy Jan 3, 2024
d79f780
start mysql too
kyleconroy Jan 3, 2024
5e3837b
Try to use the MySQL server
kyleconroy Jan 3, 2024
e8f553a
oops
kyleconroy Jan 3, 2024
0f3d476
SSL?
kyleconroy Jan 3, 2024
5607ecd
disable tls
kyleconroy Jan 3, 2024
e6868b6
Only run a small set of tests
kyleconroy Jan 3, 2024
1c1b5bb
Fix MySQL failures
kyleconroy Jan 3, 2024
d0cb520
Run all the tests
kyleconroy Jan 3, 2024
2c9edc1
A bunch of invalid MySQL schemas
kyleconroy Jan 3, 2024
f18905c
Get all the tests passing
kyleconroy Jan 3, 2024
e758085
Are they passing?
kyleconroy Jan 3, 2024
a0877f3
Fix last test
kyleconroy Jan 3, 2024
47294da
Test on all platforms
kyleconroy Jan 3, 2024
891ff92
fix Windows build
kyleconroy Jan 3, 2024
e7c32e9
Add new metadata key to exec.json
kyleconroy Jan 3, 2024
f742a02
Mark pg_vector as invalid for now
kyleconroy Jan 3, 2024
b0dad14
Skip two tests on Windows
kyleconroy Jan 3, 2024
452abd5
Only run Windows / MacOS on main
kyleconroy Jan 3, 2024
0c168ad
Merge branch 'main' into kyle/setup-postgresql
kyleconroy Jan 3, 2024
760e044
clean up
kyleconroy Jan 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run all the tests
  • Loading branch information
kyleconroy committed Jan 3, 2024
commit d0cb5200cd5fa1d0911b937d90eec04fca6a1bf5
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
mysql-version: "8.1"

- name: test ./...
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m -run TestQueries ./...
run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...
env:
CI_SQLC_PROJECT_ID: ${{ secrets.CI_SQLC_PROJECT_ID }}
CI_SQLC_AUTH_TOKEN: ${{ secrets.CI_SQLC_AUTH_TOKEN }}
Expand Down
0