Skip to content

Commit

Permalink
fix: Fix test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Mar 25, 2024
1 parent 9413d95 commit 0a9f3f8
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,25 @@ jobs:
build:
runs-on: ubuntu-latest

services:
mariadb:
image: mariadb:latest
env:
MARIADB_DATABASE: uvlhubdb_test
MARIADB_USER: uvlhub_user
MARIADB_PASSWORD: uvlhub_password
MARIADB_ROOT_PASSWORD: uvlhub_root_password
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -h localhost -u root --password=uvlhub_root_password"
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up MariaDB
uses: getong/mariadb-action@v1.1
with:
host port: 3600
container port: 3600
character set server: 'utf8'
collation server: 'utf8_general_ci'
mariadb version: 'latest'
mysql database: 'uvlhubdb_test'
mysql root password: 'uvlhub_root_password'
mysql user: 'uvlhub_user'
mysql password: 'uvlhub_password'

- name: Set up Python 3.9
uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.11'

- name: Install dependencies
run: |
Expand Down

0 comments on commit 0a9f3f8

Please sign in to comment.