Skip to content

Commit d13ef39

Browse files
committed
set full python version string; other cleanups
1 parent cf95067 commit d13ef39

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

.github/workflows/ci-test.yml

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020

2121
strategy:
2222
fail-fast: false
23-
max-parallel: 3
23+
max-parallel: 4
2424
matrix:
2525
# Run in all these versions of Python
26-
python-version: [ "2.7", "3.10", "3.11.0-rc.1", "3.12" ]
27-
#python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6" ]
28-
# use for multiple os or ubuntu versions
29-
# os: [ubuntu-latest, macos-latest, windows-latest]
26+
python-version: [ "2.7", "3.10", "3.9", "3.8", "3.6", "3.11.0-rc.1" ]
27+
# use for multiple os or ubuntu versions
28+
#os: [ubuntu-latest, macos-latest, windows-latest]
29+
# if the ones above fail. fail the build
3030
experimental: [false]
3131
include:
3232
# example: if 3.12 fails the jobs still succeeds
@@ -42,11 +42,14 @@ jobs:
4242
steps:
4343
# Checkout the latest code from the repo
4444
- name: Checkout source
45+
# example directives:
46+
# disable step
4547
# if: {{ false }}
48+
# continue running if step fails
4649
# continue-on-error: true
4750
uses: actions/checkout@v3
4851

49-
# Setup which version of Python to use
52+
# Setup version of Python to use
5053
- name: Set Up Python ${{ matrix.python-version }}
5154
uses: actions/setup-python@v3
5255
with:
@@ -59,16 +62,19 @@ jobs:
5962
# Install the databases
6063
- name: Install mysql/mariadb
6164
run: |
62-
set -xv
65+
#set -xv
66+
# mysql is pre-installed and active but this is the install command
67+
# sudo apt-get install mysql-server mysql-client
6368
# set up mysql database
6469
sudo sed -i -e '/^\[mysqld\]/,/^\[mysql/s/^#* *max_allowed_packet.*/max_allowed_packet = 500M/' /etc/mysql/mysql.conf.d/mysqld.cnf; sleep 3
65-
tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
66-
grep max_allowed /etc/mysql/mysql.conf.d/mysqld.cnf
67-
ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/
68-
sleep 5
69-
sudo service mysql restart; sleep 30
70-
ps -ef | grep mysqld
71-
sudo netstat -anp | grep mysqld
70+
#tail -n +0 /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf
71+
#grep max_allowed /etc/mysql/mysql.conf.d/mysqld.cnf
72+
#ls /etc/mysql/conf.d/ /etc/mysql/mysql.conf.d/
73+
#sleep 5
74+
sudo service mysql restart
75+
#sleep 10
76+
#ps -ef | grep mysqld
77+
#sudo netstat -anp | grep mysqld
7278
sudo mysql -u root -proot -e 'CREATE USER "rounduptest"@"localhost" IDENTIFIED WITH mysql_native_password BY "rounduptest"; GRANT ALL on rounduptest.* TO "rounduptest"@"localhost";'
7379
7480
- name: Install postgres
@@ -77,7 +83,7 @@ jobs:
7783
# Disable fsync for speed, don't care about data durability
7884
# when testing
7985
sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf
80-
sudo service postgresql restart; sleep 30
86+
sudo service postgresql restart; sleep 10
8187
# set up postgresql database
8288
sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres
8389
@@ -89,7 +95,7 @@ jobs:
8995
- name: Update pip
9096
run: python -m pip install --upgrade pip
9197

92-
- name: Install db libraries
98+
- name: Install python db libraries
9399
run: pip install psycopg2 mysqlclient
94100

95101
- name: Install auxiliary packages
@@ -110,7 +116,6 @@ jobs:
110116
pip install Markdown; fi
111117
112118
- name: Install xapian
113-
continue-on-error: true
114119
run: |
115120
sudo apt-get install libxapian-dev
116121
# Sphinx required to build the xapian python bindings. Use 1.8.5 on

0 commit comments

Comments
 (0)