Skip to content

made it so createDB command renames the generated database tables to … #418

made it so createDB command renames the generated database tables to …

made it so createDB command renames the generated database tables to … #418

Workflow file for this run

name: CI tests
on:
push:
pull_request:
schedule:
- cron: '0 8 * * *'
jobs:
build:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-20.04
services:
mariadb:
image: mariadb:latest
ports:
- 3306:3306
env:
MYSQL_USER: silence
MYSQL_PASSWORD: 123456
MYSQL_DATABASE: testing
MYSQL_ROOT_PASSWORD: 123456
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=10
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Test Silence
run: |
silence new ci_app --url https://github.com/DEAL-US/Silence-CI-Project
cd ci_app
silence createdb
silence createapi
silence run &
sleep 15
cd test
python run_tests.py