Skip to content

add testing workflow #1

add testing workflow

add testing workflow #1

Workflow file for this run

name: Run Tests
on:
push:
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mirromutth/[email protected]
with:
host port: 3800
mysql version: '8.0'
mysql database: 'some_test'
mysql root password: 'dbtestpassword'
mysql user: 'dbtestuser'
mysql password: 'dbtestpassword'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install Dependencies
run: |
poetry install --no-root --no-interaction
- name: Run Tests
run: |
poetry run pytest