Skip to content

Commit

Permalink
Add all other versions, remove some comments, and add some notes
Browse files Browse the repository at this point in the history
  • Loading branch information
choptastic committed Sep 7, 2023
1 parent b545002 commit babda1f
Showing 1 changed file with 13 additions and 25 deletions.
38 changes: 13 additions & 25 deletions .github/workflows/tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -35,18 +31,15 @@ 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/[email protected]
#env:
# 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

Expand All @@ -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

Expand Down

0 comments on commit babda1f

Please sign in to comment.