Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging develop in main #19

Merged
merged 22 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/python310.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.10
name: Python 3.10

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.10
python310:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.10' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python311.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.11
name: Python 3.11

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.11
python311:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.11' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python312.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.12
name: Python 3.12

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.12
python312:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.12' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python38.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.8
name: Python 3.8

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.8
python38:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.8' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
27 changes: 27 additions & 0 deletions .github/workflows/python39.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Check dependencies for PY3.9
name: Python 3.9

on:
push: { branches: [develop] }
schedule:
- cron: '0 0 * * 1' # At 00:00 on Monday

# Testing dependencies
jobs:
# Testing for Python 3.9
python39:
runs-on: ubuntu-latest
steps:

- name: Checkout repo
uses: actions/checkout@v4 # checkout the repository content to github runner

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.9' # install the python version needed

- name: Install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The chatbot is also using the [Urban Dictionary API](https://unofficialurbandict
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Project Status](#project-status)
- [Features](#features)
- [Examples](#examples)
- [⚜️ Slash commands](#-slash-commands)
Expand Down Expand Up @@ -60,6 +61,22 @@ Finally, you can run the bot by running the following command:
python main.py
```

## Project Status

<details>
<summary> The repo's dependencies are tested with the following versions of Python: </summary>

| Version | Done | Status |
|-------------------------|------|--------|
| Python 3.7 | ❌ | Too old |
| Python 3.8 | ✔ | [![Python 3.8](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python38.yml/badge.svg)](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python38.yml) |
| Python 3.9 | ✔ | [![Python 3.9](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python39.yml/badge.svg)](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python39.yml) |
| Python 3.10 | ✔ | [![Python 3.8](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python310.yml/badge.svg)](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python310.yml) |
| Python 3.11 | ✔ | [![Python 3.8](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python311.yml/badge.svg)](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python311.yml) |
| Python 3.12 | ✔ | [![Python 3.8](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python312.yml/badge.svg)](https://github.com/Okaneeee/discord-chatbot/actions/workflows/python312.yml) |

</details>

## Features

- [x] A `ping` slash command to see the bot's latency *(mostly for testing purposes)*
Expand Down
Loading