From babda1fd36e3df3254598a79e1e4ec0375786098 Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Thu, 7 Sep 2023 18:47:52 -0500 Subject: [PATCH] Add all other versions, remove some comments, and add some notes --- .github/workflows/tests-workflow.yml | 38 ++++++++++------------------ 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/.github/workflows/tests-workflow.yml b/.github/workflows/tests-workflow.yml index 5e32d25..40f020e 100644 --- a/.github/workflows/tests-workflow.yml +++ b/.github/workflows/tests-workflow.yml @@ -8,25 +8,21 @@ jobs: strategy: matrix: - #otp_version: [23, 24, 25.0, 26] - otp_version: [25.0] + otp_version: [23, 24, 25.0, 26] os: [ubuntu-latest] include: - # - mysql: mysql-5.7 - # pg: 11 - # - mysql: mysql-8.1 - # pg: 12 - # - mysql: mariadb-10.1 - # pg: 13 + - mysql: mysql-5.7 + pg: 11 + - mysql: mysql-8.1 + pg: 12 + - mysql: mariadb-10.1 + pg: 13 - mysql: mariadb-10.6 pg: 14 - # - mysql: mariadb-10.11 - # pg: 15 - # - mysql: mariadb-11.1 - # pg: 16 - # - - #container: erlang:${{ matrix.otp_version }} + - mysql: mariadb-10.11 + pg: 15 + - mysql: mariadb-11.1 + pg: 16 steps: - name: Install OTP ${{matrix.otp_version}} @@ -35,11 +31,6 @@ jobs: otp-version: ${{ matrix.otp_version}} rebar3-version: 3.22.1 - - name: Install a few dependencies - run: | - sudo apt update -y - sudo apt install -y -q zstd build-essential - # https://github.com/marketplace/actions/actions-setup-mysql - name: Install ${{ matrix.mysql }} uses: shogo82148/actions-setup-mysql@v1.23.0 @@ -47,6 +38,8 @@ jobs: # ImageOS: ubuntu20 with: mysql-version: ${{ matrix.mysql }} + ## I have no idea why, but if I didn't have the actions-setup-mysql + ## rule set up first, the new user config just wouldn't take. user: sql_bridge_user password: sql_bridge_test_password @@ -56,11 +49,6 @@ jobs: with: postgres_image_tag: ${{ matrix.pg }} - # - name: Install database tools in container - # run: | - # apt update -y - # apt install -y postgresql-client mariadb-client - - name: Checkout SQL bridge uses: actions/checkout@v3