mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-14 08:20:25 +00:00
Mysql/DECIMAL: add to CI
This commit is contained in:
committed by
Ryan Leckey
parent
5711e1cc94
commit
c40288a8b4
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
@@ -203,56 +203,56 @@ jobs:
|
||||
# -----------------------------------------------------
|
||||
|
||||
# integration test: async-std (chrono)
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid chrono tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid chrono tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# integration test: async-std (time)
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid time tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid time tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# integration test: async-std (time + chrono)
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid time chrono tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros uuid time chrono tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# integration test: tokio (chrono)
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid chrono tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid chrono tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# integration test: tokio (time)
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid time tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid time tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# integration test: tokio (time + chrono)
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid chrono time tls'
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros uuid chrono time tls bigdecimal'
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# UI feature gate tests: async-std
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros tls' --test ui-tests
|
||||
- run: cargo test --no-default-features --features 'runtime-async-std mysql macros tls bigdecimal' --test ui-tests
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
DATABASE_URL: mysql://root:password@localhost:${{ job.services.mysql.ports[3306] }}/sqlx?ssl-mode=VERIFY_CA&ssl-ca=%2Fdata%2Fmysql%2Fca.pem
|
||||
|
||||
# UI feature gate tests: tokio
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros tls' --test ui-tests
|
||||
- run: cargo test --no-default-features --features 'runtime-tokio mysql macros tls bigdecimal' --test ui-tests
|
||||
env:
|
||||
# pass the path to the CA that the MySQL service generated
|
||||
# NOTE: Github Actions' YML parser doesn't handle multiline strings correctly
|
||||
|
||||
Reference in New Issue
Block a user