Skip to content

Merge pull request #325 from StampyAI/stampy_chat_module #776

Merge pull request #325 from StampyAI/stampy_chat_module

Merge pull request #325 from StampyAI/stampy_chat_module #776

name: Run Python Tests
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
ENVIRONMENT_TYPE: 'development'
IS_ROB_SERVER: 'TRUE'
DISCORD_TOKEN: 'testing'
DISCORD_GUILD: 'testing'
YOUTUBE_API_KEY: 'testing'
DATABASE_PATH: './database/stampy.db'
WIKI_BOT_PASSWORD: 'testing'
CODA_API_TOKEN: 'testing'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests with pytest
run: python3 -m unittest