Skip to content

[Discord] Update to handle TimeoutError in TriviaBoard.answer method #5493

[Discord] Update to handle TimeoutError in TriviaBoard.answer method

[Discord] Update to handle TimeoutError in TriviaBoard.answer method #5493

Workflow file for this run

name: Tests
on: push
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: pyproject.toml
architecture: x64
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Unit Test
run: python -m unittest
mypy:
name: Mypy
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: pyproject.toml
architecture: x64
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run mypy
run: mypy
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version-file: pyproject.toml
architecture: x64
cache: pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Ruff
run: ruff check