Skip to content

Commit 7476a76

Browse files
committed
Fix the CI
* Caused by the release of url 2.1.1 See servo/rust-url#579 for details * A mysql release seems to have broken the macos setup, so use a absulute path there
1 parent f5b15e5 commit 7476a76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
brew services start mysql &&
5454
brew services stop mysql;sleep 3;brew services start mysql &&
5555
sleep 2 &&
56-
mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'root'@'localhost';" -uroot
56+
/usr/local/Cellar/mysql/8.0.19/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'root'@'localhost';" -uroot
5757
displayName: Install mysql
5858
5959
- template: _build/azure-pipelines-template.yml

diesel_cli/tests/support/project_builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl Project {
102102

103103
let mut db_url =
104104
url::Url::parse(&env::var_os(var).unwrap().into_string().unwrap()).unwrap();
105-
db_url.set_path(&format!("diesel_{}", &self.name));
105+
db_url.set_path(&format!("/diesel_{}", &self.name));
106106
db_url
107107
}
108108

0 commit comments

Comments
 (0)