Skip to content

Commit cf95067

Browse files
committed
fix mysql SQL to create user and grant. set max jobs in parallel
add example of how to allow a python version to fail but not fail test.
1 parent cecbc89 commit cf95067

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci-test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,18 @@ jobs:
2020

2121
strategy:
2222
fail-fast: false
23+
max-parallel: 3
2324
matrix:
24-
# number of parallel jobs
25-
ci_node_total: [3]
26-
ci_node_index: [0,1,2]
27-
2825
# Run in all these versions of Python
29-
python-version: [ "2.7", "3.10", "3.11.0-rc.1" ]
26+
python-version: [ "2.7", "3.10", "3.11.0-rc.1", "3.12" ]
3027
#python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6" ]
3128
# use for multiple os or ubuntu versions
3229
# os: [ubuntu-latest, macos-latest, windows-latest]
30+
experimental: [false]
31+
include:
32+
# example: if 3.12 fails the jobs still succeeds
33+
- python-version: 3.12
34+
experimental: true
3335

3436
env:
3537
# get colorized pytest output even without a controlling tty
@@ -67,7 +69,7 @@ jobs:
6769
sudo service mysql restart; sleep 30
6870
ps -ef | grep mysqld
6971
sudo netstat -anp | grep mysqld
70-
sudo mysql -u root -proot -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";'
72+
sudo mysql -u root -proot -e 'CREATE USER "rounduptest"@"localhost" IDENTIFIED WITH mysql_native_password BY "rounduptest"; GRANT ALL on rounduptest.* TO "rounduptest"@"localhost";'
7173
7274
- name: Install postgres
7375
run: |

0 commit comments

Comments
 (0)