Attempts to fix CI dependency failures (#15709)

* Attempts to fix CI dependency failures

* Lets try this

* And this

* And this
This commit is contained in:
AffectedArc07
2021-03-13 14:07:02 +00:00
committed by GitHub
parent 9a89ceed9c
commit 81182dbab0
3 changed files with 6 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ on:
jobs:
run_linters:
name: Run Linters
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Cache
@@ -37,7 +37,7 @@ jobs:
compile_all_maps:
name: Compile All Maps
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Setup Cache
@@ -54,7 +54,7 @@ jobs:
unit_tests_and_sql:
name: Unit Tests + SQL Validation
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
services:
mariadb:
image: mariadb:latest

View File

@@ -7,7 +7,7 @@ ADDRESS 127.0.0.1
PORT 3306
FEEDBACK_DATABASE feedback
FEEDBACK_TABLEPREFIX
FEEDBACK_LOGIN ci_sql
FEEDBACK_PASSWORD not_a_strong_password
FEEDBACK_LOGIN root
FEEDBACK_PASSWORD root
ASYNC_QUERY_TIMEOUT 10
RUST_SQL_THREAD_LIMIT 50

View File

@@ -45,7 +45,7 @@ scriptLines = [
"#!/bin/bash\n",
"set -euo pipefail\n"
"python3 -m pip install setuptools\n" # Yes I know you can PIP multiple things but they need to happen in this order
"python3 -m pip install mysql-connector\n"
"python3 -m pip install mysql-connector-python\n"
"mysql -u root -proot < tools/ci/sql_v0.sql\n"
]
@@ -79,7 +79,6 @@ scriptLines.append("mysql -u root -proot -e 'DROP DATABASE feedback;'\n")
scriptLines.append("mysql -u root -proot < SQL/paradise_schema_prefixed.sql\n")
scriptLines.append("mysql -u root -proot -e 'DROP DATABASE feedback;'\n")
scriptLines.append("mysql -u root -proot < SQL/paradise_schema.sql\n")
scriptLines.append("mysql -u root -proot -e 'GRANT ALL on feedback.* TO `ci_sql`@`127.0.0.1` IDENTIFIED BY \"not_a_strong_password\";'\n")
outputScript = open("tools/ci/validate_sql.sh", "w+")
outputScript.writelines(scriptLines)