Skip to content

Add tests for bot_commands #2

Add tests for bot_commands

Add tests for bot_commands #2

Workflow file for this run

# This workflow will install Python dependencies, then run tests with all supported versions of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
unittest:
strategy:
matrix:
version: ['3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U -e ".[dev]"
- name: Check import statement sorting
run: |
python3 -m unittest -v test/test_*.py