See if manually specifying the exact ubuntu version fixes it #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test SQL Bridge MySQL/PostGreSQL | |
on: push | |
jobs: | |
linux: | |
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
#otp_version: [23, 24, 25.0, 26] | |
otp_version: [25.0] | |
os: [ubuntu-22.04] | |
include: | |
# - 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 }} | |
steps: | |
- name: Checkout SQL bridge | |
uses: actions/checkout@v3 | |
# https://github.com/marketplace/actions/actions-setup-mysql | |
- name: Install ${{ matrix.mysql }} | |
uses: shogo82148/[email protected] | |
with: | |
mysql-version: ${{ matrix.mysql }} | |
root-password: mysql | |
# https://github.com/marketplace/actions/setup-postgresql-with-postgresql-extensions-and-unprivileged-user | |
- name: Install Postgres ${{ matrix.pg }} | |
uses: Daniel-Marynicz/postgresql-action@master | |
with: | |
postgres_image_tag: ${{ matrix.pg }} | |
# - name: Install database tools in container | |
# run: | | |
# apt update -y | |
# apt install -y postgresql-client mariadb-client | |
- name: Load databases & Run SQL Bridge eunit tests | |
run: make ci | |
env: | |
MYSQLHOST: localhost | |
MYSQLPWD: mysql | |
PGHOST: localhost | |
PGUSER: postgres | |
PGPASSWORD: postgres |