Skip to content

Fix bugs from error log #777

Fix bugs from error log

Fix bugs from error log #777

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