Mercurial > p > roundup > code
diff .github/workflows/ci-test.yml @ 6873:8dab742710b6
null pw??
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 01 Sep 2022 01:52:51 -0400 |
| parents | 65cc2af4bd6f |
| children | 70a78f281179 |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Thu Sep 01 01:49:34 2022 -0400 +++ b/.github/workflows/ci-test.yml Thu Sep 01 01:52:51 2022 -0400 @@ -36,6 +36,8 @@ steps: # Checkout the latest code from the repo - name: Checkout source + # if: {{ false }} + # continue-on-error: true uses: actions/checkout@v3 # Setup which version of Python to use @@ -49,17 +51,7 @@ run: python -c "import sys; print(sys.version)" # Install the databases - - name: Install postgres - run: | - sudo apt-get install postgresql - # Disable fsync for speed, don't care about data durability when testing - sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf - sudo service postgresql restart; sleep 30 - # set up postgresql database - sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres - - name: Install mysql/mariadb - continue-on-error: true run: | set -xv # set up mysql database @@ -70,7 +62,16 @@ sleep 5 sudo service mysql restart; sleep 30 ps -ef | grep mysqld - sudo mysql -u root -p --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' + sudo mysql -u root -p "" --protocol SOCKET -e 'GRANT ALL ON rounduptest.* TO rounduptest@localhost IDENTIFIED BY "rounduptest";' + + - name: Install postgres + run: | + sudo apt-get install postgresql + # Disable fsync for speed, don't care about data durability when testing + sudo sed -i -e '$a\fsync = off' /etc/postgresql/*/*/postgresql.conf + sudo service postgresql restart; sleep 30 + # set up postgresql database + sudo -u postgres psql -c "CREATE ROLE rounduptest WITH CREATEDB LOGIN PASSWORD 'rounduptest';" -U postgres - name: install redis run: |
