Skip to content

feat: supper user PP by dicebear #13

feat: supper user PP by dicebear

feat: supper user PP by dicebear #13

Workflow file for this run

name: Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
services:
mysql:
image: mysql:latest
env:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: onisep_testing
MYSQL_USER: onisep
MYSQL_PASSWORD: password
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pipenv"
- name: Install pipenv
run: |
python -m pip install --upgrade pipenv wheel
- name: Install dependencies
run: |
pipenv install --deploy --dev
- name: Run Pytest
run: |
DATABASE_URI_TESTING="mysql+mysqlconnector://onisep:password@localhost/onisep_testing?charset=utf8mb4" pipenv run pytest