Ryan Leckey
0bd556e0ee
test: double sleep time after mysql start up to hopefully stave off "connection aborted" errors in CI
2020-07-03 05:15:13 -07:00
Ryan Leckey
518eb0c41a
chore: add any to all-databases and to each db test in CI
2020-06-27 06:04:30 -07:00
Ryan Leckey
9ce596d492
test: temporarily remove test against MSSQL 2017
...
Getting weird errors when trying to run this with docker. We may
have better luck setting up a Windows CI runner to handle the
majority of MSSQL testing anyway.
2020-06-11 03:39:23 -07:00
Ryan Leckey
0039fcc167
test: mysql port is 3306
2020-06-08 01:00:20 -07:00
Ryan Leckey
70e224327a
test: fix yaml indents
2020-06-08 00:20:40 -07:00
Ryan Leckey
b46215eca8
test: matrix for mssql should be named mssql
2020-06-08 00:03:16 -07:00
Ryan Leckey
923c7aa18e
test: fix sqlite configuration
2020-06-07 23:51:05 -07:00
Ryan Leckey
c37cc9960d
test: add remaining databases to core workflow
2020-06-07 05:37:49 -07:00
Ryan Leckey
322f0d3c1c
test: use a matrix to extend coverage of postgres
2020-06-07 04:10:07 -07:00
Ryan Leckey
92f67f51b7
test: use a matrix to scatter runtime features
2020-06-07 03:57:10 -07:00
Ryan Leckey
cc74a18861
test: wait for 'check' before running the postgres test and set the DATABASE_URL
2020-06-07 03:53:19 -07:00
Ryan Leckey
65c7216812
test: try out using docker-compose in CI
2020-06-07 03:47:31 -07:00
Ryan Leckey
df142b3485
test: fix runs-on directive, '-' over ':'
2020-06-07 02:27:22 -07:00
Ryan Leckey
0386d6ed6c
test: re-initialize github workflow
2020-06-07 02:21:58 -07:00
Ryan Leckey
33dc215877
ci: small tweak to CI
2020-05-30 23:14:17 -07:00
Austin Bonander
7dae3dbf57
rename cargo-sqlx
-> sqlx-cli
...
edit README
2020-05-30 16:02:37 -07:00
Austin Bonander
676b29efe3
add basic integration test for cargo-sqlx
2020-05-30 16:02:37 -07:00
Austin Bonander
a7d039931c
fix UI tests
...
looks like the `.stderr` file for a SQLite UI test never got added, and notes on errors in other tests changed slightly
2020-04-27 19:43:54 -07:00
Samani G. Gikandi
45744e8033
Updates CI workflow for realworld
...
* Moves realworld into a separate file since it's long
* Adds checkout, db provisioning, and build steps for postgres and
sqlite
2020-04-17 12:42:22 -07:00
xiaopengli89
c40288a8b4
Mysql/DECIMAL: add to CI
2020-04-10 15:35:58 -07:00
Reid Swan
58aa15cb8a
Use psql client in container to make action less brittle
2020-04-07 04:08:58 -07:00
Reid Swan
42ff560577
Adds new Github Action to build examples
2020-04-02 15:36:12 +02:00
Ryan Leckey
6049f976f9
opt out of compatible type check for null values
2020-03-25 04:25:38 -07:00
Ryan Leckey
8454fa4e96
fix tests and ensure all types are being tested in CI
2020-03-25 04:06:14 -07:00
Ryan Leckey
43a72657f9
add a hack so bigdecimal can be the package name and the feature name
2020-03-24 02:56:14 -07:00
Ryan Leckey
4a98a51a19
Merge remote-tracking branch 'utter-step/time-rs'
2020-03-21 01:25:00 -07:00
Ryan Leckey
d5f0e544c8
ipnetwork: add to CI
2020-03-20 10:04:18 -07:00
Austin Bonander
703dad8fcf
add BigDecimal tests to CI
2020-03-18 19:06:14 -07:00
Ryan Leckey
838565d29a
use sqlite fixture db in CI
2020-03-17 21:47:35 -07:00
Ryan Leckey
68853adc31
Add SQLite to CI
2020-03-14 20:17:59 -07:00
Austin Bonander
4163388298
add nullability info to Describe
...
implement nullability check for Postgres as a query on pg_attribute
implement type name fetching for Postgres as part of `describe()`
add nullability for describe() to MySQL
improve errors with unknown result column type IDs in `query!()`
run cargo fmt and fix warnings
improve error when feature gates for chrono/uuid types is not turned on
workflows/rust: add step to UI-test missing optional features
improve error for unsupported/feature-gated input parameter types
fix `PgConnection::get_type_names()` for empty type IDs list
fix `tests::mysql::test_describe()` on MariaDB 10.4
copy-edit unsupported/feature-gated type errors in `query!()`
Postgres: fix SQL type of string array
closes #107
closes #17
Co-Authored-By: Anthony Dodd <Dodd.AnthonyJosiah@gmail.com>
2020-03-11 01:46:06 -07:00
Vlad Stepanov
084add9cdb
#115 : implement time-rs support
2020-02-29 22:38:48 +03:00
Austin Bonander
cd7eae038b
deny warnings in CI
2020-01-21 15:49:00 -08:00
Ryan Leckey
3a2a34381f
Streamline CI to run build _then_ db checks ( #68 )
...
* Streamline CI to run build _then_ db checks
* Run rustfmt
* Test the sqlx-core manifest explicitly for unit tests
* Fix incorrect feature enabled in CI
* Make doctests conditional on runtime
* Clean up CI file a bit more
* Tweak CI file one more last time
2020-01-16 18:14:47 -08:00
Ryan Leckey
c42e859141
Add support for tokio to sqlx-macros
2020-01-15 01:54:50 -08:00
Ryan Leckey
92f12e11aa
Add support for Tokio
2020-01-15 01:17:33 -08:00
Austin Bonander
367e6635cd
remove debug lines from MySQL workflow
2020-01-14 12:09:34 -08:00
Ryan Leckey
d99b87b5c5
Fix cargo-check command in postgres workflow
2020-01-14 10:25:38 -08:00
Austin Bonander
d129dead81
test TLS for MySQL on CI
2020-01-13 18:16:06 -08:00
Austin Bonander
638852a2dd
implement TLS support for Postgres
2020-01-13 11:52:09 -08:00
Ryan Leckey
fe827a3337
Tweak CI and enable for PRs
...
* Tweak cache strategy for Rust
* Tweak cache strategy some more
* ci: trigger
* Tweak the rest of the CI tasks
2020-01-06 23:55:11 -08:00
Ryan Leckey
77fbe3dd9e
Try a different health check for MariaDB
2020-01-03 21:59:22 -08:00
Ryan Leckey
cec532acb1
Fix port reference for MariaDB
2020-01-03 21:59:22 -08:00
Ryan Leckey
2cc2fd5700
MariaDB takes longer to start than Postgres
2020-01-03 21:59:22 -08:00
Ryan Leckey
8c92a179ca
Fix health command for MariaDB
2020-01-03 21:59:22 -08:00
Ryan Leckey
0b6be44fc0
Add initial CI workflow for Postgres
2020-01-03 21:59:22 -08:00
Ryan Leckey
e42c0ec123
Clean up existing CI
2020-01-03 21:59:22 -08:00
Ryan Leckey
ce47db8d9b
Update rust.yml
2019-12-30 02:21:54 -08:00
Ryan Leckey
a60d3d3aa4
Create rust.yml
2019-12-30 02:16:00 -08:00
Ryan Leckey
0acd0b0db7
Create rustfmt.yml
2019-12-30 02:12:48 -08:00