butler theme feature restrict to defined chat id #509
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: unit tests | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Harmon758/[email protected] | |
with: | |
postgresql version: 13 | |
postgresql db: test_db | |
postgresql user: test_user | |
postgresql password: test_pass | |
- name: Run a multi-line script | |
working-directory: backend | |
run: | | |
pip install -r requirements.test.txt | |
black . --check --exclude migrations | |
ENV=ci pytest tests --cov=. --ds core.settings --nomigrations |